简体   繁体   English

GET ACL NTFS报告,包括无权访问的文件夹

[英]GET ACL NTFS reports including folders with no access

I need to generate an ACL Report for NAS Shares, even for folders where the local administrators group has been removed from those files. 我需要为NAS共享生成ACL报告,即使对于已从这些文件中删除了本地管理员组的文件夹也是如此。

Some application can use the privilege to bypass traverse checking and or bypass ntfs permissions, similar to what robocopy does. 某些应用程序可以使用该特权绕过遍历检查和/或绕过ntfs权限,类似于robocopy所做的。

Treesize is a tool I used but it does not work in the way I need, it would only get the ntfs acls correctly for the first level of the folder where I do not have access, but if there are other subfolders, it will fail to obtain the information. Treesize是我使用的工具,但无法按我需要的方式工作,它只能正确获取我无权访问的文件夹的第一级的ntfs acls,但是如果有其他子文件夹,它将无法获取信息。

Subinacl seems to work fine, but here is my question has anyone share idea how to manipulate data so this can be accomplished using this tool. Subinacl似乎工作正常,但这是我的问题,是否有人可以共享有关如何操作数据的想法,以便可以使用此工具完成此操作。 The report is not showing the permissions directly instead it is showing hex codes representing the actual permissions. 该报告没有直接显示权限,而是显示了代表实际权限的十六进制代码。

I read that powershell might also be able to do this but I have no idea or I could not find any code related to this. 我读到Powershell也许也可以做到这一点,但是我不知道或者找不到与此相关的任何代码。

If you have a good reason to see those permissions, hopefully someone with access can help, or at least grant you the Read permissions permission. 如果您有充分的理由查看这些权限,希望有访问权限的人可以提供帮助,或者至少为您授予“ Read permissions权限。

Parsing the text from subinacl will take work , as you've noticed. 正如您所注意到的,从subinacl解析文本将起作用 (Scroll down to the permission element for translations of those codes you're asking about.) I've never used ShareEnum from Sysinternals, but maybe that's a step in the right direction. (向下滚动到那些你问码的翻译许可元素。)我从来没有用过ShareEnum Sysinternals公司的,但也许这是朝着正确方向迈出的一步。

PowerShell's Get-Acl returns objects, maybe easier to report from. PowerShell的Get-Acl返回对象,也许更容易从中报告。 But before Get-Acl will see those subfolders, you might need to change object ownership. 但是在Get-Acl看到这些子文件夹之前,您可能需要更改对象所有权。 PowerShell can do that, depending on the context, but the admins might prefer a friendly knock before you start picking locks, if you catch my drift. PowerShell可以执行此操作,具体取决于上下文,但是如果您发现我的问题,管理员可能更喜欢在开始选择锁之前进行友好的敲门。 Here is some guidance from Server Fault. 是服务器故障的一些指导。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM