Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.1 KiB

  1. Display or Modify Access Control Lists (ACLS) of Files
  2. The CACLS tool displays or modifies the ACLs of files.
  3. Usage:
  4. CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user] [/P user:perm]
  5. [/D user]
  6. filename Displays ACLs.
  7. /T Changes ACLs of specified files in the current
  8. directory and all subdirectories.
  9. /E Edit ACL instead of replacing it.
  10. /C Continue on access denied errors.
  11. /G user:perm Grant specified user access rights.
  12. Perm can be: R Read
  13. C Change (write)
  14. F Full control
  15. /R user Revoke specified user's access rights.
  16. /P user:perm Replace specified user's access rights.
  17. Perm can be: N None
  18. R Read
  19. C Change (write)
  20. F Full control
  21. /D user Deny specified user access.
  22. Wildcards can be used to specify more that one file in a command. You can
  23. specify more than one user in a command.