[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] file permissions



Gil DuPont wrote:
> 
> > drwxrwsr-x
> 
> The above permission says that the file is a directory, and that the owner
> has r,w,x, the group has r,w,x, and everyone else has, r,x the s in the
> group permisions says that when the directory executes it executes as the
> GID of the directory, look at the group owner.
> 
> > how could it have got there?
> 
> chmod 2775
> 
> > how do I change it to an 'x'?

Ack!  What's your motivation in doing this?

> 
> chmod 775
> 
> > what would changing it to an 'x' do?

Break site quotas.  Please leave your data directory permissions alone
unless they're impeding functionality.

Site administrators are members of a site group.  Site
non-administrators are not a member of that group but their data must be
owned by that group because the site quota is tied to the site group. 
This non-member group ownership is accomplished through the site
directory sticky bits.  (The sticky bit is the 02 prefix on the
permission 02775.)  

> the directory would no longer execute as the GID it wold execute as the
> owner that executed it.

User files created in a 00775 directory would not assume the group
ownership of the directory itself.  Unlike the default 02775 directory
permission.


	-- Will