Why is the umask 0002 instead of 0022
Hello Folks,
I am running RHEL 5.6 on VMWare. For the first user (whose account is made during installation, apart from root), i find the umask = 0002 instead of 0022. I checked for all other users including root and found the value of umask = 0022. Why the system assigns the 0002 umask to only one particular user ?? Best Wishes.. |
Actually, it is the 0022 for non-root users that is unusual. Systems that use group-per-user typically use 0002 for a non-root umask to facilitate setting up groups for file sharing, and in RHEL 5 this is set in /etc/bashrc. Individual users can, of course, modify this according to their wishes.
|
Thanks rknichols,
i checked the contents of /etc/bashrc and confirmed that the umask of different users conformed to the condition given in the bashrc. Best Wishes.. |
All times are GMT -5. The time now is 10:34 PM. |