Use of the use of the Cacls command in proposal

xiaoxiao2021-03-06  43

Cacls.exe C: / E / T / G Everyone: F # Set the C disk to Everyone can be viewed

Cacls.exe d: / e / t / g everyone: F # Set the D disk to Everyone can be viewed

Cacls.exe E: / E / T / G Everyone: F # Set the E disk to Everyone can be viewed

Cacls.exe f: / e / t / g everyone: F # Set the F disk to Everyone can be browsed

F: / SAFE / Overflow Tool / SQLHELLO2> CACLS

Display or modify file access control tables (ACL)

Cacls filename [/ t] [/ e] [/ c] [/ g user: perm] [/ r user [...]]

[/ P User: perm [...]] [/ d user [...]]

FileName shows the ACL.

/ T Change the current directory and all the subdirectory

Specify the ACL of the file.

/ E Edit the ACL without replacing.

/ C Continue when a refusal access error occurs.

/ G user: perm gives the specified user access.

Perm can be: R reading

W Write

C Change (write)

F complete control

/ R User revoked the user's access (justice only when used with / e).

/ P User: Perm replaces the specified user's access.

Perm can be: N

R read

W Write

C Change (write)

F complete control

/ D User refuses to specify the user's access.

You can specify multiple files using wildcards in the command.

转载请注明原文地址:https://www.9cbs.com/read-58085.html

New Post(0)