Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/