file permissions

C de-Avillez hggdh2 at ubuntu.com
Tue Jul 13 21:15:51 UTC 2010


On Wed, 14 Jul 2010 06:30:42 +0930
Gryllida <gryllida at gmail.com> wrote:

> >>> $: chmod +rwx /file.txt  
> >>
> >> This one allows everything for this file. For which user?  
> 
> Thanks for the 777 explanation,
> can you please reply to this question as well? ----^
> 
> I don't understand who exactly would be grated the read/write/whatever
> access in this case.

A quick test shows:

cerdea at xango2:/tmp$ touch test
cerdea at xango2:/tmp$ ls -l test
cerdea at xango2:/tmp$ chmod +rwx test
cerdea at xango2:/tmp$ ls -l test
-rwxr-xr-x 1 cerdea cerdea 0 Jul 13 16:14 test
cerdea at xango2:/tmp$ 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100713/360bada7/attachment.pgp>


More information about the ubuntu-users mailing list