Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Sep 2007 13:04:03 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        martinko <gamato@users.sf.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports system and umask
Message-ID:  <46DA98A3.5030204@FreeBSD.org>
In-Reply-To: <fbbqfi$va7$1@sea.gmane.org>
References:  <20070830004020.GA58539@blazingdot.com> <fbbqfi$va7$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
martinko wrote:
> Marcus Reid wrote:
>> Hi,
>>
>> I had my umask set to 007 and installed some ports, and it broke a
>> lot of things.  Some ports seem to install files with correct 
>> permissions,
>> while others install files with the default umask.  Worse, one port
>> even changed the perms on /usr/local/lib to 770, which made my system
>> unusable until I booted into single and fixed it.
>>
>> Should the ports system check for this and correct the umask before
>> installing files with bad permissions?
>>
>> Thanks,
>>
>> Marcus
> 
> Hallo,
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46DA98A3.5030204>