Access NFS server C: \ Windows \ system32> showmount-e 192.168.72.12 in linux from Windows 7. Export the list in 192.168.72.12:/var 192.168.72.11/home/huage */opt * C: \ Windows \ system32> mount \ 192.168.72.12 \ opt z: connected to \ 192.168.72.12 \ opt
The command is successfully completed. C: \ Windows \ system32> umount z: Disconnecting z: \ 192.168.72.12 \ opt has been successfully completed. Www.2cto.com after the Win7 NFS client accesses the Linux NFS service, the Win7 NFS client uses the mount command to mount the NFS service,
The file system is read-only to Windows 7. Files cannot be written and folders cannot be created. You can view the following status by running the mount command:
We can see that UID =-2 because the NFS file system shared on the storage device belongs to the root permission and cannot be modified.
This user is not written in Windows by UID =-2. The solution is to change the UID and GID of Windows 7 to 0 when mounting NFS: Open the registry:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ ClientForNFS \ CurrentVersion \ Default. Two items are added: AnonymousUid, AnonymousGid, restart the computer, and mount again.