[Gllug] How to set umask

Garry Heaton garry at heaton6.freeserve.co.uk
Sun Aug 1 19:14:37 UTC 2004


Fedora Core 1

"Hacking Linux Exposed" says that to set my umask to 022 all I have to do is
add this line to ~/.bash_profile

umask 022

Tried it, but the command `umask' still shows the old value of 0002 after
logging in. I also tried the variant:

umask 0022

... but the same result.

Prey tell, what is the mystery of setting the default umask?

Garry
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list