windows修改文件权限

CACLS files /e /p {USERNAME}:{PERMISSION}
Where,
  • /p : Set new permission
  • /e : Edit permission and kept old permission as it is i.e. edit ACL instead of replacing it.
  • {USERNAME} : Name of user
  • {PERMISSION} : Permission can be:
  • R – Read
  • W – Write
  • C – Change (write)
  • F – Full control

 

 

 

 

posted @ 2022-03-13 13:16  dvkc  阅读(187)  评论(0)    收藏  举报