Posted this some time ago:

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.
 
-- 
Best regards, M@X.

* Climate Control Psychedelic Soundscapes - http://go.to/cchq/
* Linux Shell Scripts & RPM Software Packages - http://go.to/conmen/

Reply via email to