Im trying to add the group Everyone
and give it modify
permissions on a folder. Im using a batch file to try this. so for I have icacls "C:\Program Files (x86)\Program File" /grant:r Everyone:M
But when I go and look at the permissions on the folder nothing has been changed.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
No need to put :r
after /grant
. Check the examples by typing icacls /?
Do like this:
icacls "C:\Program Files (x86)\Program File" /grant Everyone:M