[CentOS] Basic Permissions Questions
Robert Nichols
rnicholsNOSPAM at comcast.netWed Jan 26 13:58:14 UTC 2011
- Previous message: [CentOS] Basic Permissions Questions
- Next message: [CentOS] Basic Permissions Questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 01/26/2011 04:31 AM, James Bensley wrote: > On 26 January 2011 10:17, Rafa Griman<rafagriman at gmail.com> wrote: >> Directories should have +x permissions. Do a: >> >> chmod 0750 /directory >> >> And see what happens. >> > > Hi Rafa, like a fool I sent that email and then worked this out > shortly after :) > > Still, if I hadn't your response was quick so I wouldn't have been > waiting long. This leads me onto a new question though; > > If user1 writes a file in folder1 will user2 be made the default group > owner, is there a way of enforcing this and with the required > privileges (r for files, rx for directories?). Setting the SETGID bit on the directory ("chmod g+s folder1") will cause the GID of that directory to propagate to newly created files and directories therein. -- Bob Nichols "NOSPAM" is really part of my email address. Do NOT delete it.
- Previous message: [CentOS] Basic Permissions Questions
- Next message: [CentOS] Basic Permissions Questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list