[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: umask


Alan Chandler (<alan@chandlerfamily.org.uk>) wrote:

> Where does umask get set when using kdm/X
> I have changed it in /etc/login.defs and ~/.bash_profile from 22 to 27
> However, starting up konsole in kde and checking it - it still says
> 22.

If you open a console window, the normal invocation for non-login shells
is used. If you use bash, it will read ~/.bashrc, but not
~/.bash_profile. You should add the umask line to ~/.bashrc and tell
~/.bash_profile to read ~/.bashrc.

best regards
        Andreas Janssen

Andreas Janssen
PGP-Key-ID: 0xDC801674
Registered Linux User #267976

Reply to: