delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/11/26/14:20:03

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=ituhS6xlsEqoEyIA27ThQVG1j0A8N/OPcZSizNWHnNA
NrE6XlxWfsP7JXU0pftjqCQsrjCGZCRIDIMKFQFekbSMpTMBHSmfji6Hy90lGKYW
//bLTtV4iBaji7b9/7PZzbf2HyBBXJvPXpYrQX8QquJ7BLO50P+wh8sc8VbcCd3Y
=
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=Jdpv6y1rqLZRP3qTV8sBeGJ9gUk=; b=jN52oRL5zXj6JmfST
vhHQKWbGjrf/s7WInvOo/438Zn1XF+1X9frtYOWTFHPaJEk1sugfg3/s5XLm6oD6
f795Qss4CQ9xcK8QelzeFAp1aTPudBioCQ9+JASK8mtyRohdRio7hHqBP2Le6BaP
obcbb84SLBT/cweEM6sg2HnLRI=
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-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00,GIT_PATCH_2 autolearn=ham version=3.3.2 spammy=Hx-languages-length:806, duplicates
X-HELO: Ishtar.sc.tlinx.org
Message-ID: <5BFC4751.501@tlinx.org>
Date: Mon, 26 Nov 2018 11:19:45 -0800
From: L A Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: tar cygwin64/ from old to new computer:
References: <20181125143854 DOT GA20164 AT ingber DOT com> <8d846c46-bfc4-7841-2ba7-1b354a9763bf AT t-online DOT de> <5BFAF665 DOT 2030202 AT tlinx DOT org> <1381677255 DOT 20181125225824 AT yandex DOT ru>
In-Reply-To: <1381677255.20181125225824@yandex.ru>
X-IsSubscribed: yes


On 11/25/2018 11:58 AM, Andrey Repin wrote:
> Greetings, L A Walsh!
>> ---
>>         Hmm...can't tar it, but he could drag&drop from Explorer
>> like he was moving the image (but do a copy instead).
> 
> It would screw permissions on Cygwin files/directories.
---
	Perhaps, I haven't tried this particular use case, 
however, usually it just duplicates them.

	Think about the local case.  There it just does a rename.
I don't think they would deliberately allow custom ACL's to be tossed
just because the copy was to a different device.

	But, once you had the files in place, wouldn't an rsync
from old to new, fix up just the ACL's?

	If rsync won't work, then use "cp":

  > cp -rd --attributes-only /old /new

	Is there a reason why that wouldn't (or shouldn't)
work?




--
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