The lines in /etc/bashrc are not default part of any CentOS installation:
Code:
root@host [~]# grep -i mask /etc/bashrc
root@host [~]#
These values were added by someone. You could try commenting them out otherwise to see the results, but they were not added by cPanel.
I did find those lines in the csh files, but csh isn't the default shell on most systems:
In /etc/csh.login file:
Code:
# Set umask consistently with bash for loginshells (csh.login sourced
# after csh.cshrc unlike with bash profile/bashrc scripts and umask
# might be modified in profile.d csh scripts)
if ($?loginsh) then
if ($uid > 99 && "`id -gn`" == "`id -un`") then
umask 002
else
umask 022
endif
endif
In /etc/csh.cshrc file:
Code:
# By default, we want this to get set.
# Even for non-interactive, non-login shells.
if ($uid > 99 && "`id -gn`" == "`id -un`") then
umask 002
else
umask 022
endif