Unable to perform write operations on an export mounted on a Windows machine
Applies to
- ONTAP 9
- NFS on Windows machine
Issue
- Access denied on trying write operations using NFS on a Windows client machine.
- For example, access denied seen when a new folder is created.
Workaround
- As a workaround, the UID and GID of users can be squashed on the windows machine to a user having sufficient access.
NOTE: After using the below steps, every user on the Windows client machine will start sending the same NFS credentials which could be a concern when multiple users are accessing data. Engage client-vendor to understand the full implications of these registry modifications. |
- Start Registry Editor on the client machine.
- Locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default.
- Create two DWORD values namely AnonymousUid and AnonymousGid.
- Set these values to the UID and GID you would like this NFS client to use.
- Restart the client machine.