TC8.01 doesn't handle symlinks properly

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
E6300
Junior Member
Junior Member
Posts: 3
Joined: 2013-12-22, 19:15 UTC

TC8.01 doesn't handle symlinks properly

Post by *E6300 »

I have this directory on my file system:

f:\Programs\boost\
Contents:
boost\ (symlink to boost_1_54_0-vc11\)
boost_1_54_0-vc11\

If the left pane stands on, say, f:\Programs\boost\boost\ while the right pane stands on an unrelated directory, say, f:\foo\, and I try to run f:\Programs\boost\boost\boost.png, I get a file not found error. Using Process Monitor, I see that Total Commander tried to access f:\foo\boost_1_54_0-vc11\boost.png. If the right pane stands on f:\, TC tries to access f:\Programs\boost\boost_1_54_0-vc11\boost_1_54_0-vc11\boost.png.
Reversing the panes has no effect.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Can you try the same with TC 8.5 beta, please? Just install it to a different directory to keep your installation of 8.01.
Author of Total Commander
https://www.ghisler.com
E6300
Junior Member
Junior Member
Posts: 3
Joined: 2013-12-22, 19:15 UTC

Post by *E6300 »

Yes, the bug is still there.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, I have checked it now - TC does not support symlinks which only contain a relative path, not a full path. I have added this now to beta 14, please test.

If it still doesn't work, please check with the DIR command in cmd.exe what exactly your link contains.
Author of Total Commander
https://www.ghisler.com
E6300
Junior Member
Junior Member
Posts: 3
Joined: 2013-12-22, 19:15 UTC

Post by *E6300 »

OK, it appears to work now. Thanks!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks for checking!
Author of Total Commander
https://www.ghisler.com
Post Reply