Configure Windows NFS client with write permissions

Under Windows you can choose to install a NFS client to access NFS files
shares as available on Linux systems.

 

Install Windows NFS client

Install the NFS client on Windows 8.

With the default options you will only have read options to these NFS shares.

By changing the default anonymous Uid and Gid on your Windows desktop and
match these to the ones set on the Linux NFS shares you also get write
permissions for these shares.

These two values can be created and set in the registry under.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default

– Select “New DWORD (32-bit) Value”
– Change the Base setting to Decimal.
– Enter the UID found on the Linux directory as shared by the NFS system.

Reg Keys

Then restart you Windows client.

You can use the “Map network drive” function in the Explorer interface to map your
NFS share or use the mount command line tool.

You can use the same syntax as when mapping a Windows Samba file share.

With the mount command check if the values set for Uid and Gid options are
now being used.

mount command

Mount screenshot

permissions nfs shares

Permissions NFS share

 

 

 

 

 

This entry was posted in linux, windows. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Please leave these two fields as-is:

Protected by Invisible Defender. Showed 403 to 801,095 bad guys.