首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >更改权限并获取共享文件的所有权

更改权限并获取共享文件的所有权
EN

Server Fault用户
提问于 2011-08-23 13:52:26
回答 3查看 4.4K关注 0票数 2

我有一个带有共享文件夹的域控制器(windows 2008)。我是作为管理员登录的。我试图使用命令takeown /f <File name> /a /r获取共享文件夹的所有权。相同文件的结果是拒绝访问。我需要删除这个文件我不知道怎么删除。我在网上搜索解决方案是打开文件共享,是真的吗?

EN

回答 3

Server Fault用户

发布于 2011-08-23 13:55:47

使用本机工具。

代码语言:javascript
复制
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
票数 7
EN

Server Fault用户

发布于 2011-08-23 14:47:16

如果要更改命令行的所有权,请查看SetACL。此命令应完成所需的任务:

代码语言:javascript
复制
setacl -on "path to file" -ot file -actn setowner -ownr "n:Username"

从提升的命令提示符中运行该命令。

票数 1
EN

Server Fault用户

发布于 2011-08-24 14:26:47

我尝试这样的方法:

代码语言:javascript
复制
 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

但不管用

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/304139

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档