X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Wed, 7 Apr 2010 10:09:26 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: 1.7 setup.exe overwrites softlink for home
Message-ID: <20100407080926.GB27428@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <1270563217.20907.ezmlm@cygwin.com>  <4BBB9D08.3090403@whack.org>  <Pine.NEB.4.64.1004061548490.3457@panix2.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.NEB.4.64.1004061548490.3457@panix2.panix.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
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

On Apr  6 15:54, Tim McDaniel wrote:
> Corinna Vinschen wrote:
> >Peter Wohlers wrote:
> >>Since upgrading to 1.7, I keep seeing weird problems with deletion
> >>of my homedir symlink.
> >>
> >>Before running setup:
> >>pwohlers@h1n1 ~
> >>$ ll /
> >>[...]
> >>lrwxrwxrwx   1 Domain Users     18 2010-04-04 14:31 home ->
> >>/cygdrive/d/Users/
> >>[...]
> >>After running setup:
> >>[...]
> >>Setup seems to have deleted the softlink for /home
> >
> >Well... yes.  That's probably a bit unfortunate.  The current mechanism
> >always creates a couple of directories if they don't already exist:
> >
> ...
> >  /home
> ...
> >If the directory couldn't be created because a non-directory file
> >uses the same name, it deletes that file and tries to create the
> >directory again.  It's not perfect, but at least we know that the
> >directories exist, afterwards.  We could add a mode which drops the
> >aggressive creation strategy, but I only see that *could* make sense
> >for home.
> 
> Um, so I suppose it's doing a test for symlinks specifically.  Why not

There's no such test.  Setup is a native Win32 application, not a
Cygwin application.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

