delorie.com/archives/browse.cgi | search |
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:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=AwJpXrQkW4hnNhH/02VAyhcUEHMDpEZma3FAxg0Hsni | |
3TSmefsg+tQkE8k1tjuaJcq0eFTfSBbSAYM9lP3mi8VqpvLEn/4SLYbHeCdMTp00 | |
PO90r7czY1ICJR+e+1NnaIUIkuhUmrstbAxtD8HAS7ZwCaCRGChslmowfwwc+10U | |
= | |
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:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
s=default; bh=9EwvWUuzAN0OFWb56WqZiFfr31A=; b=Hw/7FhtgyQsC4dRc/ | |
ZycMaMfJvRmQAMD7fJmAdMO0ax05zn/rU+cCVkvbY3KYN3b3/rN5aYqDwKq0CNGH | |
Re/jA7jbCaTJ+pS8VjuuE0F5SZtVv9dhIZxPJfuqJrBXYlEtdBiqFy8/wmFbUY5s | |
Swx94xZ0v0vHgoyNd4Z5sv41d4= | |
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=-3.1 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=lived, mounted, dark, H*MI:sk:f0f29f3 |
X-HELO: | Ishtar.sc.tlinx.org |
Message-ID: | <57E5EE40.20104@tlinx.org> |
Date: | Fri, 23 Sep 2016 20:08:48 -0700 |
From: | Linda Walsh <cygwin AT tlinx DOT org> |
User-Agent: | Thunderbird |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: moving Cygwin64 to another drive |
References: | <e6448d1a-4100-763d-7e01-376a7432a69d AT raelity DOT com> <d20770fe-29bd-057b-02b3-b14fa03a63ef AT SystematicSw DOT ab DOT ca> <f0f29f3a-d809-a9b5-a0ee-167b306cf3b6 AT raelity DOT com> |
In-Reply-To: | <f0f29f3a-d809-a9b5-a0ee-167b306cf3b6@raelity.com> |
X-IsSubscribed: | yes |
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 >>> 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. ---- Not sure if it is important, but are you on the old machine, trying to copy local files to the new machine? Wasn't clear. >>> 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. >> > Simply running as admin doesn't solve the problem. --- Yeah... I had a similar problem. Wanted to copy my Win7 cygwin install to another machine (WinXPx64). I also had problems with permission denied as an admin -- in my case, I think they were common cygwin DLL's. I think they were inuse -- and somehow that prevented them being copied. In my case, I was aided by having the other machines 'C' drive network mounted on Z:\. I was able to copy the couple (3 actually) of files that failed, manually, to old-machine's /tmp. There they weren't files that would be in use && then I could copy them across the net with anything. Since both machines had write access to each other's C: drive, I copied the files from old's /tmp to the bin & lib directories where these files lived. Once that was done it started functioning. Maybe that will give you some ideas? I was sorta in the dark as to what was causing the failure as well, so I poked about... ;-) -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |