ports system and umask

Marcus Reid marcus at blazingdot.com
Tue Sep 4 20:38:37 PDT 2007


On Sun, Sep 02, 2007 at 06:49:51PM +0200, mato wrote:
> Kris Kennaway wrote:
> >martinko wrote:
> >>
> >>We have similar problems here -- default umask is set to 027 and 
> >>therefore one needs to always remember changing it to 022 prior 
> >>installing any ports or packages.
> >>Been bitten many times because of this. :-\
> >>
> >>Martin
> >
> >There is an argument that if you set the umask then you are getting 
> >exactly what you ask for :)
> >
> >Kris
> 
> Yes, you're right, and it works for us and I can imagine many situations 
> people change default umask.  But IMHO it doesn't make sense for 
> ports/packages as installing them with non-default umask effectively 
> renders them unusable.  Therefore it seems to me that either ignoring 
> umask or at least warning people umask is changed would be correct in 
> this case.
> 
> Martin

I think a warning would be a good compromise between second-guessing
the user and silently breaking things.

Marcus


More information about the freebsd-ports mailing list