Security, Users & Permissions

icacls

Display or modify access control lists (ACLs) for files and folders.

icacls file.txt /grant User:F

/grant grant permission · /deny deny permission · /reset reset to inherited

Practice line — try it from memory, then reveal

icacls file.txt