Specifying default UNIX permissions for new files
Applies To: Windows 7, Windows Server 2008 R2
When a file is created on a Network File System (NFS) server, a default set of permissions is applied to the file to control access to it. Client for NFS uses the following default permissions for newly created files on NFS shared resources:
User: rwx (read, write, and execute)
Group: r–x (read and execute)
Others: r–x (read and execute)
To specify default file permissions using the Windows interface
Open Services for Network File System: click Start, point to Programs or All Programs, point to Administrative Tools, and then click Services for Network File System (NFS).
If necessary, connect to the computer you want to manage.
Right-click Client for NFS, and then click Properties.
Click the File Permissions tab, and select the permissions to use as defaults.
To save these settings, click Apply.
To specify default file permissions using the command line
Open a command prompt with elevated privileges.
At the command prompt, type the following:
nfsadmin client [ComputerName] **fileaccess=**ogw
The name of the computer that you want to manage.
o = Code for owner permissions
g = Code for group permissions
w = Code for permissions for others
Codes for permissions are shown in the following table.
Execute and write
Read and execute
Read and write
Read, write, and execute
To view the complete syntax for this command, at a command prompt, type nfsadmin client /?