X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0	tests=BAYES_05,SPF_HELO_PASS,TW_MK,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: "Thomas Jung" <thomas.jung@public-files.de>
Subject: copy cygwin installation to a different location and preserving all "cygwin" rights
Date: Wed, 10 Nov 2010 14:40:28 +0100
Lines: 26
Message-ID: <ibe7ua$ug3$1@dough.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain;	format=flowed;	charset="iso-8859-1";	reply-type=original
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hello,

I would like to "move" my cygwin installation to
a different location, but preserving the usual paths to
all the apps by using a junction point to that moved/copied
subtree of cygwin.

The 1st main problem ist that copy/move with the windows
explorer (xcopy) doesn't preserve all the rights.

How can I copy the whole cygwin subtree to a new location
an preserving all the "cgwin/unix-styled" rights (I don't mean the
windows rights)

With windows it would look like:

xcopy C:\cygwin\*.* H:\cygwin\ /e /y
move C:\cygwin C:\cygwinOld
mklink /j C:\cygwin H:\cygwin

But that doesn't preserve the usual "unix" rights inside the cygwin
installation. But how can I do such a task?

Thomas




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

