Skip to main content
NetApp Knowledge Base

Cannot rename file because in user lacks NTFS permissions on parent folder

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

Applies to

  • ONTAP 9
  • CIFS/SMB
  • NTFS

Issue

  • User contoso\user1 gets a permission denied message when trying to rename a file/folder \\svm01\share1\parent_folder\child-item
    • Windows File Explorer says

Folder access denied
Authorization is required to perform this operation
To modify the folder you need permission from <username>

  • vserver security trace says Security Style: NTFS and Access is denied 
::> vserver security trace trace-result show

Vserver: svm01


Node            Index Filter Details             Reason
--------------- ----- -------------------------- ------------------------------
node-01         1     Security Style: NTFS and   Access is denied. The
                      NT ACL                     requested permissions are not
                                                 granted by the ACE while
                                                 adding a directory during
                                                 rename. Access is not granted
                                                 for: "Append"
                      Protocol: cifs
                      Volume: -
                      Share: share1
                      Path: /vol1/parent_folder/child-item/
                      Win-User: constoso\user1
                      UNIX-User: pcuser
                      Session-ID: 11188348849369257889

  • file-directory show and show-effective-permissions show that contoso\user1 lacks permission to  Modify and/or Append in parent_folder
  • Packet trace shows that 
    • Client sends SetInfo Request, FILE_INFO/SMB2_FILE_RENAME_INFO
    • ONTAP sends SetInfo Response, Error: STATUS_ACCESS_DENIED

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.