
deny Sid:perm explicitly denies the specified user access. Instead of using :r, this permission is added to all explicit permissions that were previously granted. With :r, this permission replaces all explicit permissions previously granted. Replace the ACL with the default inherited ACL for all matching filesĬacls name Sid:perm] ] ] Sid ] Store all ACLs with matching names in aclfile for future use in /restore.Ĭacls directory ] /restore aclfile Īpply the stored ACL to the files in the directory.Ĭacls name /setowner user Ĭacls name /findsid Sid įind all matching names that contain ACLs that explicitly refer to SIDs.įind all files whose ACL is not standard or whose length does not match the ACE count. Windows upgrade to 2003 SP2 after a small tool - cacls.exe, using a simple command to set or backup the permissions of the folder, in the server system crash reinstall the system, can quickly restore the permissions of the folder.Ĭacls name /save aclfile

Back up NTFS partition folder permissions and share permissions under Windows
