Adding clients and groups to the NFS share permissions list

To add clients and groups to the NFS share permissions list 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.

  5. If the directory is not already shared, click Share this folder, and then, in the Share name box, type a name for the share.

  6. Click Permissions, click Add, and then choose either of the following actions:

    • In the Names list, click the clients and groups you want to add, and then click Add.

    • In the Add Names box, type the names of clients or groups you want to add, separating names in the list with a semicolon (;).

  7. To see a list of the members of a group, in the Names list, click a group, click Members.

  8. In the Type of Access list, click the type of access you want to allow the selected clients and groups.

  9. 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.

  10. In the Encoding list, click the type of directory and file name encoding to be provided to the selected clients and groups. 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)

    Note

    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

  11. To close the dialog box, click OK.

Additional references

To add clients and groups to the NFS share permissions list using the command prompt
  1. Open the command prompt with elevated privileges.

    1. Click the Start button, and click All Programs.

    2. Click Accessories.

    3. Right-click the command prompt, and select Run as administrator.

  2. At the command prompt, type:

    nfsshare -o option [=host[:host]...] sharename

    Argument Description

    sharename

    The name of the shared directory.

    -o option

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

    • 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.

    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 you do not specify a host, root access is denied to all clients and groups for which root access is not explicitly granted.

    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 you do not specify a host, 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 you do not specify a host, 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 you do not specify a host, read/write access is granted to all clients and groups for which access is not explicitly granted or denied.

    Notes
    • 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.

Additional references