[CentOS] umask in nfs

Fri Mar 7 15:55:49 UTC 2008
Craig White <craig at tobyhouse.com>

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