On Tuesday, Nov 06, 2001, Maxim Heijndijk wrote:

> I have encountered a permissiom problem after running 'msec custom'.
> It appends the lines:
> 
> # Mandrake-Security : if you remove this comment, remove the next line too.
> if [[ ${UID} == 0 ]]; then umask 022; else umask 077; fi
> 
> ...to /etc/profile.
> However, after /etc/profile, /etc/bashrc is run, which contains the lines:
> 
> # by default, we want this to get set.
> # Even for non-interactive, non-login shells.
> if [ `id -gn` = `id -un` -a `id -u` -gt 99 ]; then
>       umask 002
> else
>       umask 022
> fi
> 
> ...which makes the lines in /etc/profile redundant.
> 
> Could this be fixed in the setup-package ? Or is it msec that should be fixed.

I agree... this has been there since 8.0.  It's very annoying.

-- 
Paul Cox <paul at coxcentral dot com>
Kernel: 2.4.8-31.1mdk  -  Uptime: 6 days 14 hours 10 minutes.

Reply via email to