Syntax:
cacls FileName [/t] [/e] [/c] [/g User:permission] [/r User [...]] [/p User:permission [...]] [/d User [...]]
Parameters :
FileName : Required. Displays DACLs of specified files.
/t : Changes DACLs of"0Changes DACLs%2irectory and all subdirectories.
/e : Edits a DACL instead of replacing it.
/c : Continues to change DACLs, ignoring errors.
/g User:permission : Grants access rights to the specified user. The following table lists valid values for permission.
Value Description :
n None
r Read
w Write
c Change (Write)
f Full Control
/r User : Revokes access rights for the specified user.
/p User:permission : Replaces access rights for the specified user. The following table lists valid values for permission.
Value Description
n None
r Read
w Write
c Change (Write)
f Full Control
/d User : Denies access for the specified user.
cacls FileName [/t] [/e] [/c] [/g User:permission] [/r User [...]] [/p User:permission [...]] [/d User [...]]
Parameters :
FileName : Required. Displays DACLs of specified files.
/t : Changes DACLs of"0Changes DACLs%2irectory and all subdirectories.
/e : Edits a DACL instead of replacing it.
/c : Continues to change DACLs, ignoring errors.
/g User:permission : Grants access rights to the specified user. The following table lists valid values for permission.
Value Description :
n None
r Read
w Write
c Change (Write)
f Full Control
/r User : Revokes access rights for the specified user.
/p User:permission : Replaces access rights for the specified user. The following table lists valid values for permission.
Value Description
n None
r Read
w Write
c Change (Write)
f Full Control
/d User : Denies access for the specified user.
No comments:
Post a Comment