Skip to main content
NetApp Knowledge Base

Why can a user can delete file despite the file's NTFS ACl disallowing deletion?

Views:
15
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:
4/22/2025, 7:11:13 PM

Applies to

  • ONTAP 9
  • NTFS

Answer

  • User has  the Delete-Child permission on the parent folder of the file
    • nas-cm911::*> show-effective-permissions -vserver fchen_11 -win-user-name fchen@nas-deep.local -path /vol1/folder1
        (vserver security file-directory show-effective-permissions)
                              Vserver: fchen_11
                    Windows User Name: fchen@nas-deep.local
                       Unix User Name: root
                            File Path: /vol1/folder1
                      CIFS Share Path: -
                Effective Permissions:
                                       Effective File or Directory Permission: 0x1f01ff
                                              Read
                                              Write
                                              Append
                                              Read EA
                                              Write EA
                                              Execute
                                              Delete Child
                                              Read Attributes
                                              Write Attributes
                                              Delete
                                              Read Control
                                              Write DAC
                                              Write Owner
                                              Synchronize
      
  • Consequently, NTFS rules allow user to delete file, even if the file's ACL disallows deletion
    • nas-cm911::*> show-effective-permissions -vserver fchen_11 -win-user-name fchen@nas-deep.local -path /vol1/folder1/test.txt
        (vserver security file-directory show-effective-permissions)
                              Vserver: fchen_11
                    Windows User Name: fchen@nas-deep.local
                       Unix User Name: root
                            File Path: /vol1/folder1/test.txt
                      CIFS Share Path: -
                Effective Permissions:
                                       Effective File or Directory Permission: 0x1e0080
                                              Read Attributes
                                              Read Control
                                              Write DAC
                                              Write Owner
                                              Synchronize
      

Additional Information

 

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.