How to diff Windows permissions

99封情书 提交于 2019-12-06 07:03:18

问题


I have a small issue with Windows permissions (or rather, I'm trying to troubleshoot an issue which I think has to do with Windows permissions) and would like to compare and contrast permissions on different machines (one does not have the issue and one does), is there a tool that can do this for me? Or some hidden functionality that I don't know about?

In Linux I'd do ls -l, dump it into a file and use the diff command, what about Windows?


回答1:


Try the cacls utility (cacls /? for usage). There are a couple of different versions, depending on your version of Windows be it XP, Vista, 7, or 8, so you may need/want to use xcacls (XP) or icacls (Vista / Win7 / Win8).



来源:https://stackoverflow.com/questions/7243929/how-to-diff-windows-permissions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!