Creating a Network File System Shared Network Resource
Applies To: Windows Server 2003 R2
Creating a Network File System shared network resource is exactly like creating any other shared network resource in Windows.
How to create an NFS shared network resource
If you use Windows Explorer to create the shared network resource, follow these steps:
Highlight the folder that you want to share.
Right-click and select Sharing and Security from the Action menu.
Click the NFS Sharing tab (shown in Figure 8).
Click Share this folder and enter a shared network resource name. The defaults used are:
Encoding: ANSI
Do not allow anonymous access
Read only permissions to all computers, with no root access allowed
To change the default permissions, click the Permissions button (shown in Figure 9).
You can change the behavior for all computers or specify a specific computer or group of computers by clicking the Add button.
Click OK as necessary to complete the wizard and create the NFS shared network resource.
If you want to create an NFS shared network resource from the command line, use nfsshare. To see the full syntax of nfsshare, type the following in a command window:
nfsshare /?
The command to export an NFS shared network resource from the E:\Public folder to /public to all computers with read/write privileges and root allowed would be:
nfsshare public=e:\public –o rw –o root
Figure 8. The NFS Sharing tab
Figure 9. NFS Share Permissions dialog box