Consider the following scenario:
- You set a permission on a parent directory on a computer that is running Windows Vista or Windows Server 2008.
- You configure a subdirectory to inherit permissions from the parent directory.
- You copy the subdirectory to a target directory by using the Robocopy command together with the /Mir /SEC switch.
In this scenario, the subdirectory unexpectedly inherits permissions from the target directory. You expect the subdirectory to still inherit permissions from the parent directory.