This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT]: Important change to symbolic link functionality
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