setup: etc/profile

Michal Moskal malekith at pld-linux.org
Thu Apr 7 13:16:10 CEST 2005


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.

-- 
: Michal Moskal :: http://nemerle.org/~malekith/ :: GCS !tv h e>+++ b++
: You can't blame yourself for what gorillas did :: UL++++$ C++ E--- a?




More information about the pld-devel-en mailing list