Skip to main content
NetApp Knowledge Base

Access Denied for SMB Write due to export policy denying RW access

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

Applies to

  • ONTAP 9
  • Export policy
  • CIFS/SMB

Issue

  • Windows File Explorer can read files in SMB share, but cannot create or modify files
    • Destination Folder Access Denied
    • You need permission to perform this action
    • clipboard_ed13a38ad715ba344dadedb4447a9bc04.png
  • If ONTAP is on a fixed release for Bug 1354610, sectrace says
    • ::*> vserver security trace trace-result show
      
      Vserver: svm1
      
      
      Node            Index Filter Details             Reason
      --------------- ----- -------------------------- ------------------------------
      svm1            1     Security Style: NTFS and   Access is denied as the
                            NT ACL                     volume is readonly or
                                                       directory is a snapshot while
                                                       checking for permission on
                                                       parent directory during
                                                       create.
                            Protocol: cifs
                            Volume: -
                            Share: cifs_share_test
                            Path: /New Text
                            Document.txt
                            Win-User: contoso\user1
                            UNIX-User: pcuser
                            Session-ID: 8997910580695264344
  • Volume type is RW
    • ::*> vol show -junction-path /cifs_share_test -vserver svm1 -fields type
      vserver       volume          type
      ------------- --------------- ----
      svm1          cifs_share_test RW
  • is-exportpolicy-enabled is true
    • ::*> cifs options show -vserver svm1 -fields is-exportpolicy-enabled
      vserver       is-exportpolicy-enabled
      ------------- -----------------------
      svm1          true

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.