Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 22 Feb 2001 15:26:05 +0300 From: Egor Duda X-Mailer: The Bat! (v1.45) Personal Reply-To: Egor Duda Organization: DEO X-Priority: 3 (Normal) Message-ID: <180175177361.20010222152605@logos-m.ru> To: Corinna Vinschen Subject: Re: [ANNOUNCEMENT]: Important change to symbolic link functionality In-reply-To: <20010222120909.I908@cygbert.vinschen.de> References: <20010221232921 DOT X908 AT cygbert DOT vinschen DOT de> <21157045389 DOT 20010222102353 AT logos-m DOT ru> <20010222115142 DOT H908 AT cygbert DOT vinschen DOT de> <20010222120909 DOT I908 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Thursday, 22 February, 2001 Corinna Vinschen cygwin AT cygwin DOT com wrote: >> When you create a symlink/shortcut in Cygwin which in turn points to a >> shortcut it will remain this way. Explorer tries to resolve the path >> again but it will not show any target path for some reason. There's >> still a difference in the shortcuts created by Cygwin in contrast to >> shortcuts created by U/WIN. I will try to figure out what it is. CV> Just found the reason. I have checked in two patches already. CV> One to repeal that difference to U/WIN, another to solve a problem CV> when trying to open a file via a symlink. try this: ================================== cd /tmp mkdir -p symlink_test/1 mkdir -p symlink_test/2 touch symlink_test/1/1.fil touch symlink_test/2/2.fil cd symlink_test ln -s 1 t1 ln -s ../2 t1/new_2 cd /tmp mv symlink_test ~/ cd ~/symlink_test/t1/new_2 ls ================================== ls should show 2.fil now open /symlink_test/1/ with explorer and oops, new_2 isn't shortcut anymore. Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple