我想设置一个具有特定权限的特定文件夹来继承其父文件夹的所有权限。我知道我应该使用 icacls
。
我的文件夹是这样的:
- mp
- build (set this one to inherit from mp)
最佳答案
像这样:
icacls "build\*" /q /c /t /reset
秘诀是:
/reset - Replaces ACLs with default inherited ACLs for all matching files.
/t - Performs the operation on all specified files in the current directory and its subdirectories.
阅读更多信息 Microsoft Technet icacls
关于windows - 使用icacls设置文件夹权限递归继承,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22327776/