Share via


NFS client issue

Question

Tuesday, December 12, 2017 9:03 PM

HI, I have a Windows 2008 R2 server that I want to use it as a NFS client.  The NFS share (NAS appliance) has a default 755 permission and the gid and uid is 99 (nobody).

When using a Ubuntu desktop, I was able to use chmod to modify the permission so that I can write files to the directory. However, when I used the Windows server to access the share, I am not able to make any permission change (though the NFS attributes of the share properties). I tried setting the anonymous UID\GID to 99 and 500 which is the root UID\GID on the NFS server and it is still not working. It always said access is denied when I tried to change any NFS attributes though the Windows server.

Any suggestion?

Thanks

All replies (3)

Wednesday, December 13, 2017 8:16 AM

Hi hkg04,

According to the article from Microsoft, if your UNIX UID and GID information is mapped to Windows user and group accounts, the Windows names are returned to Server for NFS, which then uses the Windows user and group names to grant file access. If your UNIX UID and GID information is not mapped, then Server for NFS will deny file access.

https://technet.microsoft.com/en-us/library/cc754514(v=ws.11).aspx

Please also refer to the articles to do the settings.

https://technet.microsoft.com/en-us/library/cc753808(v=ws.11).aspx

https://technet.microsoft.com/en-us/library/jj603110(v=wps.630).aspx

In addition, you could consider also consult the NAS vendor for more suggestions.

Best Regards,

Mary

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Wednesday, December 13, 2017 6:03 PM

Thanks

I just created an user in the NAS and mount the share using the -u: switch to specify that username. Surprisingly, I can not only mount the share but also can write to it. I checked the NFS attributes under Windows Explorer of the share and see the permission is 755. The password I used for the mounting in Windows is not even matching the one I defined in the NAS. Is this normal?


Thursday, December 14, 2017 2:01 AM

Hi hkg04,

Maybe you enabled NFS anonymous access?

Best Regards,

Mary

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].