Description of problem: The setting of umask is based on the following: if [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]; then ... This can cause a problem if user is not a member of a group which is unique to the user, ie. user-A is a member of a group called user-A. In most installation a user is a member on 'users' or other global groups. Version-Release number of selected component (if applicable): FC3, EL3, etc. This might go against the filosofy of Redhat (as Redhat always create a group based on the users uniqueID). But if ldap is used (openLDAP, eDirectory, etc.) it thends to be one group only (users, staff, etc). Therefor change the line to something like: if [ `id -u` -gt 99 ]; then Then it would not apply to system users, and only normal users.
To be clear, I think you are referring to /etc/bashrc. This file is owned by the "setup" package.
It is the /etc/bashrc I'm referring to.
I think the behavior is correct. if the user is in a multiple-user group, by default, you *don't* want group write on new files; ergo, the setting of 022.