解决NFS挂载读写权限

linux nfs 作为服务端
windows  nfs客户端连接挂载
出现在windows上无法直接写入linux的情况,直接在window上导入reg文件即可
代码如下:
保存为nfs.reg (导入regedit后记得重启)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default]
"MaxNfsUser"=dword:00000020
"DeleteSymLinks"=dword:00000001
"FirstContact"=dword:00000003
"UseReservedPorts"=dword:00000001
"Protocols"=dword:00cffcff
"Retransmissions"=dword:00000001
"Timeout"=dword:00000008
"CacheBlocks"=dword:00000040
"MountType"=dword:00000001
"AnonymousUid"=dword:00000000
"AnonymousGid"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default\RegNotify]
"Default"=dword:00000000

标签