LEBLIN JY wrote:
> Just if someone has time...
> I've checked the man concerning chmod and i'm afraid the numeric method
> is not very clear. If someone can just explain in clearer terms.
> ( Sorry for my poor English, it makes a long time i haven't practise :-} )
>
> Thanks
> JY LEBLIN
Basically, the numeric method is a decimal representation of the binary of the
permissions. If you look at a file with ls -l you will get something like the
following:
-rw-r--r-- 1 steve steve 3915 Mar 4 15:27 resume
Each permission section (owner, group, all) is three characters and can be set
using a number. So if I wanted to set the above file for read/write/execute
by the owner, read/write by the group and all I would do this with:
chmod 766 resume
7 being the decimal representation of binary 111
6 being the decimal representation of binary 110
A binary 1 meaning the permission is turned on and a 0 meaning turned off.
-Steve.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.