[CentOS] umask in nfs

Craig White

craig at tobyhouse.com
Fri Mar 7 15:55:49 UTC 2008


Normal users umask is 022 set in /etc/bashrc

Obviously I can change that value to 002 but that would affect all files
created by each user.

Is it possible to set a different umask on nfs mounts only so that user
created files have a umask of 002 on files saved onto that mount?

man mount shows this is possible on some filesystems but man nfs doesn't
suggest that this is possible.

Craig




More information about the CentOS mailing list