On Friday 07 May 2004 08:48 am, Anders Johansson wrote:
On Friday 07 May 2004 16.32, David Rankin wrote:
What are modes 0660 and 0750? And from one of your later
emails (Samba Share - Access Denied) what does "chmod g+s /some directory
do?
Thanks again, Jerome
The easiest way to think about it is that the four numbers of a mode represent -- directory -- owner -- group -- world -- permissions. The directory bit just signifies whether the filename is a file (0) or a directory (1).
What? What? What?
There is no such thing as a directory bit in the permissions.
The leading number is an octet just like the other, I described it in my other mail, but here goes again
100 = File/Directory is SUID 010 = File/Directory is SGID 001 = File/Directory is sticky (means nothing for files, for directories means that only owner of file may modify file even though directory is world writable, ref: /tmp)
If 001 means only the owner can change the file then the 'world' part of'world writable' means only the owner is the world, correct? Jerome