Cacls elevation command

Source: Internet
Author: User

Cacls command parameters:
Cacls.exe c:/e/t/g everyone: F # Set drive c to everyone for browsing
Cacls.exe d:/e/t/g everyone: F # Set drive d to everyone for browsing
Cacls.exe e:/e/t/g everyone: F # Set the edisk to everyone for browsing
Cacls.exe f:/e/t/g everyone: F # Set drive f to everyone for browsing

CACLS filename [/T] [/E] [/C] [/G user: perm] [/R user [...]
[/P user: perm [...] [/D user [...]
Filename displays the ACL.
/T change the current directory and all its subdirectories
The ACL of the specified file.
/E. Edit the ACL without replacing it.
/C continues when an access denial error occurs.
/G user: perm grants the specified user access permission.
Perm can be: R read
W write
C Change (write)
F full control
/R user revokes the access permission of the specified user (only valid when used with/E ).
/P user: perm replaces the access permission of the specified user.
Perm can be: N none
R read
W write
C Change (write)
F full control
/D the user rejects access from the specified user.
You can use wildcards to specify multiple files in the command.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.