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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=HQSvGHJAgR3J9mv7 vGmIhU6JRrwblhsn9VeAFB32GhT4cWuvegh4JAsIwTcPiuN1Rz7iltwccY/+rGBM BHB+6afrV7u1P0tvOBmbTA6tBo5i7SKJ+L9er0P/Hr4UHj2pK4iG6d0jdAWuKVpa KmFwtdWisdKrDNSGWUKr6S3GEhU= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=WxjXT08yZsdR1KO6hOhAKY YKfz0=; b=Qkl07hX9YTHto2aZkHq7SbDWMmkgDbqiczZZba+mj2FQimoqMwOVLR 8BtwF6nzT/7pf6KuSWbeljI2EXM76sCPzYtzlTaAbH8rNvZOSAV13d/1XO1zxVCq R7pi60wIKM0QPn9MbZt6jIdydcX4gL7sMrE3o3TPBU35sir3IqwbQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=Hx-languages-length:1468, H*f:sk:d12e098, H*i:sk:d12e098, H*MI:sk:d12e098 X-HELO: resqmta-po-02v.sys.comcast.net Subject: Re: moving Cygwin64 to another drive To: cygwin AT cygwin DOT com References: From: Ernie Rael Message-ID: <6f150986-59da-baba-7f2e-9928653e3fdc@raelity.com> Date: Sun, 25 Sep 2016 14:46:39 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfCpC7mzClwpzJDmUN7yHZUuj5EmGFjPGJR9ZvxMNIy8lCQervfJwWeC3j3+LIpnKY7brgXev356PaotTvWRBLty/zAgzSUpadzO8ztuhJVtpTQbtCsa7 7TkL8k6K+t186SLeJi9/aRSA4gXoqVPseyE= X-IsSubscribed: yes Thanks Marco, the -zb option to robocopy did the trick. (Now for the next issues...) -ernie On 9/23/2016 9:59 PM, Marco Atzeri wrote: > 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, 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 > >>> >>> 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 >> C:\cygwin64\etc\ssh_host_dsa_key >> Access is denied. >> Waiting 30 seconds... >> >> ADMIN erra AT spirit ~ >> $ id >> uid=1000(erra) gid=513(None) >> groups=513(None),544(Administrators),545(Users),1007(HomeOffice) >> > > try with options > /ZB :: use restartable mode; if access denied use Backup mode. > > Regards > Marco > > > -- > 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 > > > -- 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