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
Argument Description ComputerName
The name of the computer that you want to manage.
ogw
o = Code for owner permissions
g = Code for group permissions
w = Code for permissions for othersCodes for permissions are shown in the following table.
Code Description 0
None
1
Execute
2
Write
3
Execute and write
4
Read
5
Read and execute
6
Read and write
7
Read, write, and execute
Note To view the complete syntax for this command, at a command prompt, type nfsadmin client /?