delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/23/19:28:42

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=TvFiVayItKjchbri
iXEsVjz7wwtgYFLE+07BEGmQNjkK/Ra2VY66M7MM3ZcZrBIgx5IPrrjvJo/NJ+2L
OeI5C0jOgzeljRkNE8nYV6E3WYJ6W7OXmmW7yyu74EIpL5M0G9abIK090t7D6c3v
EuNLi3acIvbmUM/bbJxABdDKxKg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=d5rA2BLA6ad7ypHRoSaeut
0EP5w=; b=iI+EoYQCIZ5GmhaobNsEzId14WY/KtJyLJgYFFyJviNpoOua5LQaRM
fph80ZiM0FMMONTOuNYM8gpG1zIHyTw/kyPkCouLnYgo8ejuMjaxdu8FfDpIoZa0
l6zUBty6K0/uX121zUjsyA1WtQJmIMbPJEi0p0x5fbSUB4oIDZ8PQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Ernie, Rael, rael, H*RU:64.59.134.12
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=JOx5iICb c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=JQR459oJf4jemL8SYYQA:9 a=QEXdDO2ut3YA:10 a=8lsK_m8LLmcA:10 a=sRI3_1zDfAgwuvI8zelB:22
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: moving Cygwin64 to another drive
References: <e6448d1a-4100-763d-7e01-376a7432a69d AT raelity DOT com>
To: cygwin AT cygwin DOT com
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <d20770fe-29bd-057b-02b3-b14fa03a63ef@SystematicSw.ab.ca>
Date: Fri, 23 Sep 2016 17:28:13 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <e6448d1a-4100-763d-7e01-376a7432a69d@raelity.com>
X-CMAE-Envelope: MS4wfI/PxXOE9tKZBBeBB7PCYThIJowqVFO2z1TjrK7F7dc/q2vYRviCOXvz6ft1zsnXxWxoHh+OZ+Zb/k5kdLNBgxKJx3+SBgD15ORq2XH8yJKolBYzu8ad nAeeD0wMMHNKd3OOInBdYVOjUTtjPwWxhu39Zb5a0nMVVxgPL/zYCgwCg+4epygn437zharR+jGyUg==
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019