Skip to main content
NetApp Knowledge Base

Unable to perform write operations on an export mounted on a Windows machine

Views:
955
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

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. 

clipboard_e8d9eeaccee9df169f8ce632204b54e6c.png

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.

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.