我有一个带有共享文件夹的域控制器(windows 2008)。我是作为管理员登录的。我试图使用命令takeown /f <File name> /a /r获取共享文件夹的所有权。相同文件的结果是拒绝访问。我需要删除这个文件我不知道怎么删除。我在网上搜索解决方案是打开文件共享,是真的吗?
发布于 2011-08-23 13:55:47
使用本机工具。
Right click on the folder and select properties.
Select the Security Tab Click the Advanced button.
Select the Owner Tab.
Click Edit.
Select who to change the ownership to.
Click OK through all the Windows发布于 2011-08-23 14:47:16
如果要更改命令行的所有权,请查看SetACL。此命令应完成所需的任务:
setacl -on "path to file" -ot file -actn setowner -ownr "n:Username"从提升的命令提示符中运行该命令。
发布于 2011-08-24 14:26:47
我尝试这样的方法:
Right click on the folder and select properties.
Select the Security Tab Click the Advanced button.
Select the Owner Tab.
Click Edit.
Select who to change the ownership to.
Click OK through all the Windows但不管用
https://serverfault.com/questions/304139
复制相似问题