The umask option for the pcnfsd daemon controls the permissions that the filer assigns to directories and files created by (PC)NFS clients.
The maximum permission for a user, group, or everyone else is 6, which enables the appropriate user to read files, write files, or have no access to files. The value specified in the umask option is subtracted from 0666 to determine the permissions assigned to a file.
The following example enables a file's owner to read and write a file, but denies access to the file by anyone else:
066
The format of umask consists of three integers (nnn) that have values of 0, 2, 4, or 6. The integers specify permissions in the following manner:
The following table shows the umask integers that you can specify in any of the umask integer positions (nnn).
The filer uses a default umask of 022, which
The syntax for the umask option is as follows:
options pcnfsd.umask nnn
nnn is the umask.
Copyright © 1999, Network Appliance, Inc. All rights reserved.
Part No. 210-02334
File: nfs13.htm
Last updated: 04/26/99 08:11:30