Results 1 to 7 of 7

Thread: copy file/folder permissions after robocopy

  1. #1
    mohaaron Guest

    copy file/folder permissions after robocopy

    I recently copied a number of directories using robocopy and didn't
    know to add either the /COPYALL or /SEC to copy the permissions. Does
    anyone know how I might be able to do this now that the copies have
    been done?

    thanks.


  2. #2
    Mathieu CHATEAU Guest

    Re: copy file/folder permissions after robocopy

    Hello,

    You may just launch it again with:
    /COPY:S
    this will only copy the security settings


    --
    Cordialement,
    Mathieu CHATEAU
    http://lordoftheping.blogspot.com


    "mohaaron" <mohaaron@gmail.com> wrote in message
    news:1188101106.097896.132800@e9g2000prf.googlegroups.com...
    >I recently copied a number of directories using robocopy and didn't
    > know to add either the /COPYALL or /SEC to copy the permissions. Does
    > anyone know how I might be able to do this now that the copies have
    > been done?
    >
    > thanks.
    >



  3. #3
    mohaaron Guest

    Re: copy file/folder permissions after robocopy

    On Aug 26, 1:09 am, "Mathieu CHATEAU" <gollum...@free.fr> wrote:
    > Hello,
    >
    > You may just launch it again with:
    > /COPY:S
    > this will only copy the security settings
    >
    > --
    > Cordialement,
    > Mathieu CHATEAUhttp://lordoftheping.blogspot.com
    >
    > "mohaaron" <mohaa...@gmail.com> wrote in message
    >
    > news:1188101106.097896.132800@e9g2000prf.googlegroups.com...
    >
    > >I recently copied a number of directories using robocopy and didn't
    > > know to add either the /COPYALL or /SEC to copy the permissions. Does
    > > anyone know how I might be able to do this now that the copies have
    > > been done?

    >
    > > thanks.


    Do I use this with or without the /MIR switch?

    thanks


  4. #4
    Mathieu CHATEAU Guest

    Re: copy file/folder permissions after robocopy

    if the data didn't change both on source and destination, it shouldn't be
    necessay


    --
    Cordialement,
    Mathieu CHATEAU
    http://lordoftheping.blogspot.com


    "mohaaron" <mohaaron@gmail.com> wrote in message
    news:1188153420.679795.104740@q5g2000prf.googlegroups.com...
    > On Aug 26, 1:09 am, "Mathieu CHATEAU" <gollum...@free.fr> wrote:
    >> Hello,
    >>
    >> You may just launch it again with:
    >> /COPY:S
    >> this will only copy the security settings
    >>
    >> --
    >> Cordialement,
    >> Mathieu CHATEAUhttp://lordoftheping.blogspot.com
    >>
    >> "mohaaron" <mohaa...@gmail.com> wrote in message
    >>
    >> news:1188101106.097896.132800@e9g2000prf.googlegroups.com...
    >>
    >> >I recently copied a number of directories using robocopy and didn't
    >> > know to add either the /COPYALL or /SEC to copy the permissions. Does
    >> > anyone know how I might be able to do this now that the copies have
    >> > been done?

    >>
    >> > thanks.

    >
    > Do I use this with or without the /MIR switch?
    >
    > thanks
    >



  5. #5
    mohaaron Guest

    Re: copy file/folder permissions after robocopy

    I just tried the following two scripts and neither did what I wanted.

    robocopy \\server\HR \\mpserver\HR /COPY:S /LOG+:"D:\Shared\Robocopy
    Scripts\MIR HR ACL Log.txt"

    RESULTS:
    **************************************************************************************************
    -------------------------------------------------------------------------------
    ROBOCOPY :: Robust File Copy for Windows :: Version
    XP010
    -------------------------------------------------------------------------------

    Started : Sun Aug 26 13:27:59 2007

    Source : \\server\HR\
    Dest : \\mpserver\HR\

    Files : *.*

    Options : *.* /COPY:S /R:1000000 /W:30

    ------------------------------------------------------------------------------

    11 \\server\HR\

    ------------------------------------------------------------------------------

    Total Copied Skipped Mismatch FAILED
    Extras
    Dirs : 1 0 1 0 0
    0
    Files : 11 0 11 0 0
    0
    Bytes : 403.1 k 0 403.1 k 0 0
    0
    Times : 0:00:00 0:00:00 0:00:00
    0:00:00

    Ended : Sun Aug 26 13:30:32 2007
    **************************************************************************************************

    It looks like nothing was changed. I can see that the security
    settings are still different so the script is not working. What else
    might I try?


  6. #6
    mohaaron Guest

    Re: copy file/folder permissions after robocopy

    I'm now trying to use the /secfix switch which is in the kb article
    here:

    How to Use Robocopy to copy security information without copying any
    file data.
    http://support.microsoft.com/?kbid=323275.

    When I run.

    robocopy \\server\HR \\mpserver\HR /secfix /xo /xn /xc

    I get this error.

    invalid parameter #4 : /secfix

    Now what?


  7. #7
    Mathieu CHATEAU Guest

    Re: copy file/folder permissions after robocopy

    The XP and .Net Version of Robocopy (XP010) includes all the above options
    (with the exception of /SECFIX and /TimFix) and adds a number of new
    features.
    Also the bugs listed below are fixed in the XP version.

    Need the older version, or remove the destination and copy the whole again
    (with /SEC instead of /COPY:S)

    --
    Cordialement,
    Mathieu CHATEAU
    http://lordoftheping.blogspot.com


    "mohaaron" <mohaaron@gmail.com> wrote in message
    news:1188161089.609239.13750@q3g2000prf.googlegroups.com...
    > I'm now trying to use the /secfix switch which is in the kb article
    > here:
    >
    > How to Use Robocopy to copy security information without copying any
    > file data.
    > http://support.microsoft.com/?kbid=323275.
    >
    > When I run.
    >
    > robocopy \\server\HR \\mpserver\HR /secfix /xo /xn /xc
    >
    > I get this error.
    >
    > invalid parameter #4 : /secfix
    >
    > Now what?
    >



Similar Threads

  1. Robocopy - Copying Permissions
    By john83 in forum Windows Software
    Replies: 2
    Last Post: 27-08-2010, 07:22 PM
  2. Copy To Folder... on every File and Folder
    By technika in forum Operating Systems
    Replies: 4
    Last Post: 05-12-2009, 04:16 PM
  3. Unable to copy NTFS file permissions ( ACL)
    By Vishal Singh in forum Networking & Security
    Replies: 2
    Last Post: 19-05-2009, 02:08 PM
  4. Robocopy not copying top level NTFS Permissions
    By Crashball in forum Windows Server Help
    Replies: 1
    Last Post: 25-03-2009, 03:28 PM
  5. Replies: 7
    Last Post: 25-09-2008, 08:53 PM

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,713,453,169.67270 seconds with 17 queries