-
Notifications
You must be signed in to change notification settings - Fork 14
Win change permission
lethanhtung01011980 edited this page Apr 22, 2020
·
2 revisions
- Change permission of a file in Windows
- Only if has Full privilege on folder
- Check permission of a folder:
icacls Desktop
- Set file permission of a file in subfolder:
icacls root.txt /grant alfred:F
cacls Windows utility to view/edit file permissions
cacls “c:\users\Administrator\Desktop\root.txt” /E /P Alfred:F
- /E to edit ACL
- /P to set permissions
- Alfred:F to give Alfred full control of the file