Warning: Invalid argument supplied for foreach() in /home/techrecipes/public_html/wp-content/themes/techrecipes/header.php on line 77

Copy Folders and Files While Keeping Ownership and Permissions

Most copy commands give the new files and directories the same security information as the parent directory. The following tutorial explains how to preserve the ownership and ACL information.


You are in an NTFS (New Technology File System) environment, moving around folders and files. Then you notice that the Access Control List (ACL) information for those folders is not what you expected.

Typical copy commands do not preserve the ownership and ACL infomation.

To preserve this information, you must copy with the XCOPY command.

XCOPY /O will preserve this information correctly.

The Conversation

Follow the reactions below and share your own thoughts.

  • Anonymous

    I need this software.