[ANNOUNCEMENT]: Important change to symbolic link functionality

Egor Duda deo@logos-m.ru
Thu Feb 22 04:29:00 GMT 2001


Hi!

Thursday, 22 February, 2001 Corinna Vinschen cygwin@cygwin.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 <your_home_dir>/symlink_test/1/ with explorer and oops, new_2
isn't shortcut anymore.

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list