Symbolic Link support(LAN)

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Shezed
Junior Member
Junior Member
Posts: 8
Joined: 2011-06-03, 21:23 UTC

Symbolic Link support(LAN)

Post by *Shezed »

I get an error when trying to open a symlink 0x8000002D
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Can you give me more information how to reproduce the problem, please?
Author of Total Commander
https://www.ghisler.com
Shezed
Junior Member
Junior Member
Posts: 8
Joined: 2011-06-03, 21:23 UTC

Post by *Shezed »

yes simple:
I'm using Windows 7 64-bit
I used symlink 1.1.1.3 to create a symbolic link to a folder
Tried it on TC 7.50a works fine (not over LAN)
Tried it on my laptop(acces to my shared folder on my desktop over LAN) works fine

Tried it on my Galaxy S2 TC android & LAN plugin both vers. 2.01
Got the error

Verified Users acces on the folder user "everyone" was incluuded
Shezed
Junior Member
Junior Member
Posts: 8
Joined: 2011-06-03, 21:23 UTC

Post by *Shezed »

Were you able to recreate the problem? Will it get fixed? or is it an intended bug just like not being able to play flac's directly over lan(need to download to phone first)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I still don't fully understand the problem. I'm trying to describe what I understood so far:
1. You have a local directory, e.g. c:\local
2. You share this, so it can be accessed as \\computername\local
3. You have a subdirectory somewhere on your PC, e.g. c:\elsewhere
4. You create a symbolic link in c:\local, e.g. c:\local\symlink
5. You try to access \\computername\local\symlink

Is this correct? If not, please correct it.
Author of Total Commander
https://www.ghisler.com
Shezed
Junior Member
Junior Member
Posts: 8
Joined: 2011-06-03, 21:23 UTC

Post by *Shezed »

yep pretty much tho "c:\elsewhere " is also a shared folder i thought it might have been that i forgot to "share"that folder but that doesn't seam to be the case
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It might be a general problem with the JCIFS libary used for LAN access - can you try to access the link with some other file manager like ES file explorer? Does it show the same problem?
Author of Total Commander
https://www.ghisler.com
Shezed
Junior Member
Junior Member
Posts: 8
Joined: 2011-06-03, 21:23 UTC

Post by *Shezed »

Yes it does
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for the info! I will check whether there is a way, and if not, I will ask in the JCIFS mailing list.
Author of Total Commander
https://www.ghisler.com
__Vano
Junior Member
Junior Member
Posts: 9
Joined: 2006-12-13, 00:52 UTC

Post by *__Vano »

This is a general limitation of the [face=monospace]lanmanserver[/face] service. It cannot share a folder that is a symbolic link, returning this error when it tries to access it on a client's behalf.

You have to either share the folder it points to instead or replace the symbolic link with a junction point (the difference is that a junction can only point to an absolute path - so it would break if both directories are moved or run in an environment where drive letters are different).
Post Reply