Export (0) Print
Expand All

Configuring access to an NFS share for a client computer or group

Applies To: Windows Server 2003 R2

To configure access to an NFS share for a client or group using the Windows interface
  1. Open Windows Explorer: click Start, point to Programs or All Programs, point to Accessories, and then click Windows Explorer.

  2. In the details pane, right-click the shared directory you want to manage.

  3. Click Sharing.

  4. Click NFS Sharing, and then, if the folder has not already been shared, click Share this folder.

  5. Click Permissions.

  6. Click the client or group for which you want to set permissions.

  7. In the Type of Access list, click the type of access you want to allow the client or group.

  8. Select Allow Root Access if you want a user identified as root to have access other than as an anonymous user. By default, the user identifier (UID) root user is coerced to the anonymous UID.

  9. In the Encoding list, click the type of directory- and file-name encoding to be provided to the client or group. In addition to the default American National Standards Institute (ANSI) encoding, the following encoding is available:

    • BIG5 (Chinese)

    • EUC-JP (Japanese)

    • EUC-KR (Korean)

    • EUC-TW (Chinese)

    • GB2312-80 (Simplified Chinese)

    • KSC5601 (Korean)

    • SHIFT-JIS (Japanese)

      noteNote
      If this option is set to ANSI on systems configured for non-English locales, the encoding scheme is set to the default encoding scheme for the locale. The following are the default encoding schemes for the indicated locales:

    • Japanese: SHIFT-JIS

    • Korean: KS_C_5601-1987

    • Simplified Chinese: GB

    • Traditional Chinese: BIG5

  10. Click OK twice.

To configure access to an NFS share for a client or group using the command line
  1. Open the command prompt.

  2. At the command prompt, type:

    nfsshare -ooption[=host[:host]...]sharename

     

    Argument Description

    sharename

    The name of the shared directory.

    -o

    Specifies one or more options to set and must be set to at least one of the following:

    {big5|euc-jp|euc-kr|euc-tw|gb2312-80|ksc5601|shift-jis}= host [: host ]...

    Specifies the file- and directory-name encoding for individual client computers or client groups. The following encoding schemes are available:

    • big5 (Chinese)

    • euc-jp (Japanese)

    • euc-kr (Korean)

    • euc-tw (Chinese)

    • gb2312-80 (Simplified Chinese)

    • ksc5601 (Korean)

    • shift-jis (Japanese)

    If this option is not set, the default encoding scheme is used.

    na

    Specifies that no client or group is granted access to the NFS share unless you explicitly grant it access.

    noroot[= host [: host ]...]

    Denies root access to the shared directory by the clients or client groups specified by host. Separate client and group names with a colon (:). If host is not specified, root access is denied to all clients and groups for which root access is not explicitly granted.

    removeclient[= host [: host ]...]

    Removes the specified clients from the list of permissions of the shared directory. Separate client and group names with a colon (:).

    ro[= host [: host ]...]

    Provides read-only access to the shared directory by the clients or client groups specified by host. Separate client and group names with a colon (:). If host is not specified, read-only access is granted to all clients and groups for which access is not explicitly granted or denied.

    root[= host [: host ]...]

    Provides root access to the shared directory by the clients or client groups specified by host. Separate client and group names with a colon (:). If host is not specified, root access is granted to all clients and groups for which root access is not explicitly denied.

    rw[= host [: host ]...]

    Provides read/write access to the shared directory by the clients or client groups specified by host. Separate client and group names with a colon (:). If host is not specified, read/write access is granted to all clients and groups for which access is not explicitly granted or denied.

    noteNote
    To view the complete syntax for this command, at a command prompt, type:

    nfsshare /?

    By default, when a directory is shared, all client computers are granted read-only access, and anonymous access is not allowed.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft