On Thu, May 06, 2004 at 10:35:39PM -1000, Jerome Lyles 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?
The 2nd number are the rights for the user, the 3rd for the group, and the 4th for all others. The numbers are 3 bits (value 0-7); the MSb is read access, the middle bit is write access, and the LSb is executable access. 660 = 110 110 000 = read/write access for user/group 750 = 111 101 000 = read/write/exec access for user, read/exec access for group g+s = set group id bit for the group, which causes files in that directory to get the group id of the directory i.s.o. the group id of the user that creates the file in that directory. Regards, Pieter Hulshoff