Click to See Complete Forum and Search --> : User permissions


mufka
11-19-2001, 05:58 PM
How would I set the permissions on a folder such that any user can read or write to anything in the folder including subfolders. It seems that when I set the permissions, it works until a user creates a file and then no one else can open it.

Thanks

DMR
11-19-2001, 07:38 PM
I think that setting the gid bit for the directory in question will cause files/folders created within it to inherit the permissions of that directory, as opposed to those of the user who creates them.

Pras
11-19-2001, 10:49 PM
You can also use chmod -R which will recursively set permissions.

DMR
11-20-2001, 01:02 AM
Originally posted by Pras:
<STRONG>You can also use chmod -R which will recursively set permissions.</STRONG>True, but then you'd have to chmod fairly often, because each time a new file is created, it will not have the desired permissions.