重命名删除权限被阻止的文件夹/文件

发布于 2024-12-17 18:39:25 字数 287 浏览 5 评论 0原文

我的网络中有一个共享文件夹,很多用户都可以在其中访问和存储他们的文档。我是此共享文件夹的管理员,并且我已拒绝所有其他用户的删除权限。 当用户创建新文件夹并尝试重命名它时,问题就会出现。 Windows 显示“访问被拒绝” 我假设这可能是因为我拒绝了该用户的删除权限。 (因为重命名=删除+CreateFolderWithNewName)

有什么方法可以让我保持删除权限不变,并允许用户重命名他的文件/文件夹?

或者还有其他解决方法吗?

我使用的是 Windows Server 2008 和 NTFS 文件系统。

I have a shared folder in my network where a lot of users access and store their documents. I'm admin of this shared folder and I've denied delete permissions for all other users.
The problem starts when a user creates a new folder and tries to rename it.
Windows says "Access denied"
I'm assuming that this might be because I've denied delete permissions for that user.
(Since Rename=Delete+CreateFolderWithNewName)

Is there any way so that I can keep the delete permissions intact, and allow the user to rename his files/folders?

Or any other workarounds?

I'm using Windows Server 2008 and NTFS file system.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

终弃我 2024-12-24 18:39:25

根据建议,您应该查看文件夹设计/您的设置。

一种解决方法是向“CREATOR OWNER”授予“删除”和“删除子文件夹和文件”权限,然后文件或文件夹的创建者就可以重命名(和删除)自己的文件/文件夹。

也许您可以安排一个夜间 powershell 脚本(未提供),该脚本获取所有文件和文件夹的所有权,以限制所有者将来重命名/删除文件

As suggested, you should look into the folder design / your setup.

A kind of Work around, is to give "Delete" and "Delete subfolders and files" rights to "CREATOR OWNER", then the creator of the file or folder is able to rename (and delete) his own files/folders.

Maybe you could Schedule a nightly powershell script (not privided) which takes ownership of all files and folders, to restrict owners from future renaming/deletion of files

白云不回头 2024-12-24 18:39:25

如果他们在共享文件夹中创建,它将继承共享文件夹的权限。您需要打破继承并允许子文件夹的删除权限才能实现您想要的目的。

如果在根目录中创建了大量文件夹,有两种可管理的解决方案。

  1. 编写一个服务/应用程序来为您做到这一点。
  2. 在文件夹中创建一系列文件夹(可能基于个人/团队),更改它们的权限并告诉用户在其中存储文件。

If they creating in the shared folder it will inherit the permissions of the shared folder. You would need to break inheritance and allow delete permissions on the sub folder to achieve what you want.

There are two managable solutions if there are alot of folders created in the root.

  1. Write a service/application to do that for you.
  2. Create a series of folders (perhaps person/team based) in the folder, change the permissions on them and tell users to store files in there.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文