Umask and redhat
Rick Stevens
rstevens at vitalstream.com
Fri Jul 16 21:06:28 UTC 2004
Waldher, Travis R wrote:
> Where do I go to change the default system umask?
It's in /etc/bashrc:
if [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]; then
umask 002
else
umask 022
fi
Meaning that users that are in their own group and have IDs over 99
(which is all the mortal users) get a umask of 002, system users get
022.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Admitting you have a problem is the first step toward getting -
- medicated for it. -- Jim Evarts (http://www.TopFive.com) -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list