Unlike NFS users, (PC)NFS users cannot execute the UNIX umask command to set the file mode creation mask (umask), which determines the default file permissions. However, Data ONTAP enables you to define the umask for all (PC)NFS users.
The permissions for each file are defined by three octal values, which apply to owner, group, and other. When a (PC)NFS client creates a new file, Data ONTAP subtracts the umask, which is a three-digit octal number you define, from 666. The resulting octal digits are used as file permissions.
By default, the umask is 022, which means that the effective octal digits for permissions are 644. These permissions enable the file owner to read and write the file, and enable the group and other only to read the file.
The following table provides the description for each digit in the umask.
To define the umask, complete the following step.
| 1 |
options pcnfsd.umask umask |
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00323
File: nfs17.htm
Last updated: 01/15/03 15:45:12