So I have two directory hierarchies one on Windows Server 2003 and another on Windows Server 2008 R2.
The directory on Windows Server 2008 R2 was created before hand by right clicking and creating a new folder.
I copied them from the one hierarchy to the other using xcopy
XCOPY \\server2003\Reporting \\server2008\c$\Reporting /O /X /E /H /K /Y /I
But the permissions and Owners are not the same even though /O
is supposed to copy ACLs and Owners. What's going on here? The files still get some of the inherited ACLs from the Server 2008's C$ drive.
It makes me worry that the permissions aren't the same on everything; so how do I know that a child file or folder hasn't broken inheritance?
Best Answer
The Sysinternals tool AccessEnum might be able to help. It's a GUI that will recursively scan the permissions from the selected location and let you see where things diverge (if at all).
From the link: