简体   繁体   English

获取具有损坏的NTFS权限的文件/文件夹

[英]Get Files/Folders with corrupted NTFS permissions

Occasionally from time to time, a file or folder has corrupted permissions. 有时,文件或文件夹的权限被破坏。 You cannot delete, rename, take ownership, etc of it. 您不能删除,重命名,拥有所有权等。

I'm looking for a script that loop on the folders structure and find all these files/folders. 我正在寻找一个在文件夹结构上循环的脚本,并找到所有这些文件/文件夹。 Unfortunately google didn't help me :( 不幸的是,谷歌没有帮助我:(

Have you tried ICACLS.EXE and its /verify switch? 您是否尝试过ICACLS.EXE及其/ verify开关? This would be my starting point. 这就是我的出发点。 Depending on how foo-bar'd the DACLS are, you may be able to use ICACLS.EXE or SETOWN.EXE to fix ownership. 根据DACLS的实用性,您可以使用ICACLS.EXESETOWN.EXE修复所有权。

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

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