[Gllug] File permissions and umask on Ubuntu (and I think probably, Debian)

Anthony Newman anthony.newman at ossified.net
Sun Jan 7 18:04:03 UTC 2007


John Winters wrote:
> Anthony Newman wrote:
>> John Winters wrote:
>>> If you know a way of achieving this kind of file sharing without 
>>> setting umasks to 0002 then I'd love to hear it.  Asking users to 
>>> keep changing their umasks depending on what kind of work they're 
>>> doing is *not* feasible.
>>
>> It appears that your only problem is non-propagation of group writable 
>> bits to subdirectories
> 
> and the files therein
> 

Not really. Directory write permissions override the permission on 
individual files contained within them. If the dirs are g+w, all users 
in the same group as the directory may change or delete the files 
inside, even if the files are a-w. This is slightly paradoxical, but 
nonetheless true :)

Ant
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list