This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: moving Cygwin64 to another drive

On 24/09/2016 03:26, Ernie Rael wrote:
On 9/23/2016 4:28 PM, Brian Inglis wrote:
On 2016-09-23 17:11, Ernie Rael wrote:
I found a thread,,
from last year where Corinna suggests the following (which works for
her; she notes YMMV)
        robocopy C:\cygwin64 F:\cygwin64 /e /purge /z /copyall /sl

Run robocopy as admin from an elevated command shell (bash or cmd)
with Administrator privileges.

Simply running as admin doesn't solve the problem.

    $ robocopy C:/cygwin64 F:/cygwin64 -e -purge -z -copyall -sl

    100%        New File                 210        shells
    100%        New File                1595        ssh_config
                New File                 668 ssh_host_dsa_key
    2016/09/23 18:06:38 ERROR 5 (0x00000005) Copying File
    Access is denied.
    Waiting 30 seconds...

    ADMIN erra@spirit ~
    $ id
    uid=1000(erra) gid=513(None)

try with options
   /ZB :: use restartable mode; if access denied use Backup mode.


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]