Name

cacls, xcaclsRK

Synopsis

cacls | xcacls files [options]

Display (if no options are specified) or modify access control lists (ACLs), using Windows NT 4 or Windows 2000 permission sets, respectively.

Options

Multiple options and instances of options are allowed.

/T

Propagate changes to subdirectories in the file list.

/E

Edit the existing ACL (the default is to replace it).

/G user : perms [;dir-perms] /P user : perms[;dir-perms]

Grant or replace (respectively) permissions in the access control entries (ACEs) for the specified user. perms indicates the defined permission set. For cacls, it is either R (read), C (change), F (full control), or N (none, applies to /P with cacls only). xcacls uses several additional codes for the other atomic permissions: P (change permissions), O (take ownership), X (execute), W (write), and D (delete). Directories take a second permission string, separated from the first by a semicolon. In this context, there is an additional code letter: T (not specified).

/R user

Remove the ACEs for the specified user (requires /E).

/D user

Deny the specified user all access to the files.

/C

Continue applying changes even if an error occurs.

/Y

Suppress confirmation prompts (xcacls only).

Get Windows 2000 Commands Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.