portupgrade and umask (was Re: scribus configure script failed unexpectedly)

Chuck Swiger cswiger at mac.com
Mon May 31 10:04:39 PDT 2004


Joan Picanyol i Puig wrote:
[ ... ]
> I have my umask set to 077, and so these files where chmod 600 :(
> 
> It's not the first time I get bitten by this, what's the rationale for
> ports not using a sane umask by default?

Which "sane umask" should we pick?  022, 027, 002?  :-)

[ My implication is that setting any default is likely to be considered the 
wrong default by many people, especially where the user himself has a non-sane 
umask to begin with. ]

Besides, many ports end up using the install command to manually set 
permissions (obviously for anything which is setuid/setgid) anyway, so the 
issue is not any less complicated than it may appear at first glance.

-- 
-Chuck



More information about the freebsd-ports mailing list