- n - none: No - r - read: Read - w - write: Write - c - change (write): Change write permissions - f - full control: Full control / r user [.] Revoke access of the specified user (only valid for / e ). [/ p user: [.] Replace the access of specific users. Valid values for permissions:
- n - none: No - r - read: Read - w - write: Write - c - change (write): Change write permissions - f - full control: Full control [/ d user [.] Denies access to specified users. /? Show help at the command prompt.
Note
If this command has not been accepted, please use icacls instead.
Use the following table to interpret the results:
Output (Access)The access control entry (ACE) applies to OI (Short for Object inherit) / Folders and these files. CI (Short for Container inherit) / This directory and subdirectory. IO (Inherit only) / ACE does not apply to the current file / directory | No output message | Only this directory. OI) (CI) This directory, subdirectory and file. (OI) (CI) (IO) Only subdirectories and files. (CI) (IO) Only subfolder (OI) (IO) File only.
You can use wildcards (? And *) to specify multiple files.