Skip to main content
NetApp Knowledge Base

When a directory is dragged / dropped or moved, why are the access rights not inherited?

Views:
1,829
Visibility:
Public
Votes:
1
Category:
data-ontap-7
Specialty:
7dot
Last Updated:

Applies to

  • Data ONTAP 7
  • ONTAP 9

Answer

  • When the same directory is cut / pasted the access rights are not properly inherited.
  • This behavior of permissions is EXPECTED in NTFS volumes due to the design of NTFS Access Control List (ACL)s.
  • According to Microsoft's KB article: How permissions are handled when you copy and move files and folders, by default an object inherits permissions from its parent object, either at the time of creation or when it is copied or moved to its parent folder.
  • The only exception to this rule occurs when you move an object to a different folder on the same volume. In this case, the original permissions are retained.
  • NetApp's SMB server will act like a modern Windows SMB server with regards to inheritance.
  • Test the same operation from the same client against a Windows SMB server configured in the same manner.
  • If everything is identical, take packet traces against the "working" SMB server and against the NetApp SMB which is not behaving as expected.
  • Record the following information:
    • Client ip
    • Server ip
    • Full path to the folder being copied to
    • File name being copied to the folder
    • Get the full output of the ACL's on the parent directory before moving file.
    • Note the exact time
    • Start the trace
    • disconnect the smb session
    • Reconnect to the share and perform the operation
    • Stop the packet trace
    • Get the full output of the ACL's on both the parent directory and on the file itself after the operation has completed

 

 

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.