chmod command

Kae Verens kae at verens.com
Thu Sep 18 11:50:59 UTC 2008


Roger Millington wrote:
> man chmod
>   

that's a bit harsh, Roger! It's possible that maybe Gopal does not 
understand the man pages.

example:
chmod 750 filename1 filename2
first digit is user
second digit is group
third digit is everyone (world)
7 = allow file owner to read, write, execute
5 = allow members of file's group to read and execute
0 = do not let anyone else use the file

the numbers are calculated by adding these up
4 = allowed to read
2 = allowed to write
1 = allowed to execute.
so 750 = (4+2+1)(4+1)(0)

kae

> Gopal Ghosh wrote:
>   
>> Dear all,
>> how to use chmod command (in octal mode) for n number of files present in a
>> directory
>> Thanks
>> regards
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Fedora-laptop-list mailing list
>> Fedora-laptop-list at redhat.com
>> http://www.redhat.com/mailman/listinfo/fedora-laptop-list
>>     
>
> _______________________________________________
> Fedora-laptop-list mailing list
> Fedora-laptop-list at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-laptop-list
>   




More information about the Fedora-laptop-list mailing list