From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: moving Cygwin64 to another drive
Date: Sat, 24 Sep 2016 01:26:00 -0000 [thread overview]
Message-ID: <d20770fe-29bd-057b-02b3-b14fa03a63ef@SystematicSw.ab.ca> (raw)
In-Reply-To: <e6448d1a-4100-763d-7e01-376a7432a69d@raelity.com>
On 2016-09-23 17:11, Ernie Rael wrote:
> I found a thread, https://cygwin.com/ml/cygwin/2015-04/msg00008.html,
> 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.
> where
> $ 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: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2016-09-23 23:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-23 23:28 Ernie Rael
2016-09-24 1:26 ` Brian Inglis [this message]
2016-09-24 2:06 ` Ernie Rael
2016-09-24 3:05 ` Brian Inglis
2016-09-24 3:07 ` Ernie Rael
2016-09-24 3:09 ` Ernie Rael
2016-09-24 5:01 ` Linda Walsh
2016-09-24 7:28 ` Marco Atzeri
2016-09-25 21:58 ` Ernie Rael
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d20770fe-29bd-057b-02b3-b14fa03a63ef@SystematicSw.ab.ca \
--to=brian.inglis@systematicsw.ab.ca \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).