Results 1 to 2 of 2

Thread: Robocopy not copying top level NTFS Permissions

  1. #1
    Crashball Guest

    Robocopy not copying top level NTFS Permissions

    I have using Robocopy and Xcopy for a while. Ocasionally i need to move a
    share from one drive to another.
    say i have the following structure:

    folder1
    - subfolder2

    subfolder2 has blocked inheritance and specific permissions applied

    If i do an XCOPY /x /o it copies the permissions correctly. If i do a
    robocopy /copyall, the permissions on subfolder2 is correct, but the
    permissions on folder1 are only the permissions that it inherits from its
    parent folder.

    if subfolder2 had inherted permissions, no permissions copy at all, and it
    seems to only apply the parent folder permissions at the source destination.
    Isn't robocopy supposed to be able to handle a copy like this? It seems
    pretty basic

  2. #2
    Join Date
    Mar 2009
    Posts
    1

    Re: Robocopy not copying top level NTFS Permissions

    Use /COPY:SOU /IS /E /XL /XC /XN /XO

    /COPY:SOU to copy security
    /IS to include all folder already copied
    /E to include empty folder (top level have no file...so empty)
    /XL /XC /XN /XO to avoid to copy empty forlder on the target.
    eg :
    Robocopy.exe <Source> <Destination> /COPY:SOU /IS /E /XL /XC /XN /XO

Similar Threads

  1. Copying folders with specific names (perhaps using ROBOCOPY)
    By Jake R in forum Windows Server Help
    Replies: 7
    Last Post: 13-10-2010, 11:09 PM
  2. Robocopy - Copying Permissions
    By john83 in forum Windows Software
    Replies: 2
    Last Post: 27-08-2010, 07:22 PM
  3. Replies: 7
    Last Post: 25-09-2008, 08:53 PM
  4. copy file/folder permissions after robocopy
    By mohaaron in forum Windows Server Help
    Replies: 6
    Last Post: 27-08-2007, 02:29 AM
  5. Replies: 5
    Last Post: 15-05-2007, 08:31 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,153,310.99231 seconds with 17 queries