0

我正在尝试将 Windows 组分配给特定文件。

icacls "C:\Program Files (x86)\MyOrg\MyProj\Logger.exe" /grant "My System Administrators":(OI)(CI)F

结果如下

“已处理文件:C:\Program Files (x86)\MyOrg\MyProj\Logger.exe 成功处理 1 个文件;失败处理 0 个文件

但是当我打开文件的属性并在安全选项卡中查看它时,该组未列出。

我错过了什么吗?还是有任何其他方式可以提供对文件的访问?

4

1 回答 1

0

I got the answer from following question. His question is similar to my question.

https://superuser.com/questions/628930/windows-7-command-line-add-group-users-to-file

于 2014-02-12T11:07:58.533 回答