X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.4 required=5.0	tests=BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Date: Mon, 28 Jun 2010 22:57:22 +0200
From: Michael Ludwig <milu71@gmx.de>
To: cygwin@cygwin.com
Subject: Re: Moving Cygwin directory safe?
Message-ID: <20100628205722.GF5344@wladimir>
Mail-Followup-To: cygwin@cygwin.com
References: <20100626141016.GD3672@wladimir> <3710255202.20100627051050@mtu-net.ru> <20100627095521.GI3672@wladimir> <20100627133726.GA5344@wladimir> <20100627190136.GC13357@ednor.casa.cgf.cx>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20100627190136.GC13357@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.20 (2009-12-10)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

Christopher Faylor schrieb am 27.06.2010 um 15:01 (-0400):
> On Sun, Jun 27, 2010 at 03:37:26PM +0200, Michael Ludwig wrote:

> >I copied C:\cygwin to T: instead of reinstalling. Here's a list of
> >things I had to fix (or fixed preemptively):
> >
> >* fixed the above registry settings
> 
> ...which was not necessary.

Yes, you hinted at that it might not be, but I didn't know whether these
keys are left-overs from by-gone versions, or derived from some other
setting, or whatnot, so not knowing whether I could delete them I
thought I might as well adapt them to reflect the new values,

To be complete on this issue and include one detail I omitted from my
list: Explorer failed to copy some files (SSH keys), which belonged to
the user NT-AUTORITÄT\SYSTEM and could not be read by my admin user, so
I had to do the following:

  subinacl /file C:\cygwin\etc\ssh* /setowner=michael
  subinacl /file C:\cygwin\etc\ssh*key /grant=michael=R

(This is XP Home, which does not come with the real security tab in
Explorer, so you have to resort to supplementary tools.)

-- 
Michael Ludwig

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

