date: “2016-12-13” draft: false title: “cacls”
Man
Syntax
CACLS pathname [options]
Options
/T Search the pathname including all subfolders. (/TREE)
/E Edit ACL, leave existing rights unchanged (/EDIT)
/C Continue on access denied errors. (/CONTINUE)
/L Work on the Symbolic Link itself versus the target (/LINK)
/M Change ACLs of volumes mounted to a directory (/MOUNT)
/G user:permission
Grant access rights (/GRANT), permision can be:
R Read
W Write
C Change (read/write)
F Full control
/R user
Revoke specified user's access rights, only valid with /E. (/REVOKE)
/P user:permission
Replace access rights (/REPLACE), permission can be:
R Read
W Write
C Change (read/write)
F Full control
N None
/D user
Deny access to user. (/DENY)
/S
Display the SDDL string for the DACL. (/SSDL)
/S:sddl
Replace the ACL(s) with those specified in the SDDL string
(not valid with /E, /G, /R, /P, or /D).