[kwlug-disc] Access rights to file/folder

Rashkae rashkae at tigershaunt.com
Thu Jul 29 08:31:33 EDT 2010


Rashkae wrote:

>>
> 
> How does that even work?  Sticky bit, as far as I know, prevents Bob 
> from deleting files he does not have write permission to, (even though 
> he has write permission to the directory.)  In Linux, the sticky bit 
> does not inherit group ownership to new files.  (Any new file created by 
> Alice would need to have the group changed for Bob to have write access. 
>  The exception is when you are creating files over Samba which is 
> configured to inherit parent group.)  Also, changing the user's umask 
> imposes other limitations, when you only intend the change to affect one 
> directory tree.  ACL is by far the better solution to this scenario.
> 


Ah, I'm sorry,, it's the Sgid that does the magic, not sticky.... my bad.



More information about the kwlug-disc_kwlug.org mailing list