setup: etc/profile

Jakub Piotr Cłapa loc at toya.net.pl
Thu Apr 7 17:40:18 CEST 2005


Michal Moskal wrote:
> On Thu, Apr 07, 2005 at 12:31:59PM +0200, Jakub Piotr Cłapa wrote:
> 
>>>if [ `id -gn` = $USER -a `id -u` -gt 14 ]; then
>>>	umask 002
>>>else
>>>	umask 022
>>>fi
>>
>>What's the rationale behind this? (it sets umask 022 for almost everybody)
> 
> RH has the scheme where each user has his own group, as the primary
> group. Therefore the use of umask 002 in this case is reasonable.
> 
>>What's the rationale behind umask 022 for normal users?
> 
> This is for the regular PLD scenario, where primary group of users
> is users.

Thanks.
Still, why all my files should (by default) be og+r? Why not 077 umask?

-- 
Regards,
Jakub Piotr Cłapa




More information about the pld-devel-en mailing list