[RndTbl] How does umask really work?

Sean A. Walberg sean at ertw.com
Thu Feb 10 11:34:42 CST 2005


On Thu, 10 Feb 2005, John Lange wrote:

> Wouldn't a default of 700 for directories make the most sense for the
> majority of users anyhow?

Not necessarily, since it depends on a lot of other factors.  In the user
private group scheme, the default directory mode should be 750 so that 
people in the same group can share and personal directories are 
effectively 700.

The issue is not with umask, it's in userland.  And I'm with Gilles --
bash is behaving in a sane manner, doing things in such a way that 90% of
the people are happy.  Applications are free to chmod() the inodes after
creation, which is what proftpd will be doing.

Sean

-- 
Sean A. Walberg <sean at ertw.com>                    http://www.ertw.com 


More information about the Roundtable mailing list