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 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
On Win7, I'm on a old cygwin installation (thought I'd copy to more spacious disk before updating) I tried this command after ssh to an admin account, but the command terminates with
    100%        New File                 210        shells
    100%        New File                1595        ssh_config
                New File                 668 ssh_host_dsa_key
    2016/09/23 14:54:53 ERROR 5 (0x00000005) Copying File C:\cygwin64\etc\ssh_host_dsa_key
    Access is denied.
    $ ls -l ssh_host_dsa_key
    -rw------- 1 cyg_server Administrators 668 Apr 20  2014 ssh_host_dsa_key
I don't know much about windows. Any ideas on how to get this to work?

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

Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

Problem reports:
Unsubscribe info:

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