Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个文件夹,我想知道如何使用 icacls.exe 将其权限设置为特定用户的特殊权限,如下所示?
这就像“修改”权限集,除了您将“删除”替换为“删除子文件夹和文件”。您可以单独授予这些权限,例如从读取-执行权限集开始
icacls folder /grant domain\user:(RX,WD,AD,WA,WEA,DC)
或者/grant:r如果您想覆盖而不是添加到任何现有权限。
/grant:r