delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/27/05:13:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 27 Jun 2002 11:12:54 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Fun with symlinks?
Message-ID: <20020627111254.K22705@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT LNX DOT 4 DOT 21 DOT 0206261845460 DOT 17279-100000 AT gremlin DOT fruitbat DOT org>
Mime-Version: 1.0
In-Reply-To: <Pine.LNX.4.21.0206261845460.17279-100000@gremlin.fruitbat.org>
User-Agent: Mutt/1.3.22.1i

On Wed, Jun 26, 2002 at 10:17:25PM -0700, Peter A. Castro wrote:
> Fine, so far.  Now, suppose you got a notice that a new Bash was uploaded
> to the cygwin release area.  So, you fire up 'setup' and tell it to
> upgrade Bash.  Now, start Bash.  Notice your changes don't show up anymore.
> Now, do an 'ls -al /etc/pro*'
> 
> -rw-r--r--    1 Administ None          386 May 30 19:08 /etc/profile
> -rw-r--r--    1 Administ None          386 May 30 19:08 /etc/profile
> -rw-r--r--    1 Administ None          386 May 14 23:21 /etc/profile.orig
> -rw-r--r--    1 Administ None          525 May 22 13:06 /etc/profile.pac 
> 
> Notice that there are *two* files named 'profile'.  Now, one has to be a
> real file, and one has to be the symlink.  The access rules seem to favor
> the real file, so the symlink is, apparently, ignored.  But, this

That's a problem of setup.exe which doesn't understand that there's
a symlink of the Windows shortcut type (*.lnk) is in the way.
Setup should actually remove the symlink when creating the real
file.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019