Page 1 of 1

Bug report FileZilla Server 1.0.0-rc2 - does not support links for directories

Posted: 2021-07-11 01:31
by boco
FileZilla Server does not support (follow) NTFS "Folder Symlinks" nor NTFS "Directory Junctions". It does, however, support all these link types + hard links for files.

Log snippet from FileZilla Pro to FileZilla Server 1.0.0-rc2 (everything else in the log is perfectly normal):
03:23:08 Command: CWD test
03:23:08 Response: 550 No such dir
03:23:08 Error: Failed to retrieve directory listing
The item is displayed in the raw listing as follows:
03:24:35 Listing: type=dir;modify=20210711005615.764;perms=el; test
_____
For testing, I reactivated the old 0.9.60.2 version. It handles all such links, both for files and directories, perfectly.

Log snippet from FileZilla Pro client:
03:28:07 Command: CWD /pub/test
03:28:07 Response: 250 CWD successful. "/pub/test" is current directory.
Raw:
03:27:34 Listing: type=dir;modify=20210711005618; test
The only difference I can see right now is that the old version does not list the "perms=el" part.


Edit: Both server versions were tested internally and did run under the same account (SYSTEM). Additionally, the test directory has been assigned Full Access for Everyone, to exclude any ACL issue.

Edit2: I have just seen that FileZilla misses the "/pub/" part for linked directories in the CWD argument! CWDing into real, physical directories includes it.

Re: Bug report FileZilla Server 1.0.0-rc2 - does not support links for directories

Posted: 2021-07-14 15:41
by boco
Bump. You are ignoring me! :roll:

Re: Bug report FileZilla Server 1.0.0-rc2 - does not support links for directories

Posted: 2021-07-15 19:18
by botg
I don't have anything smart to say, other than it's under consideration. Proper symlink handling needs care to avoid potential security issues.

Re: Bug report FileZilla Server 1.0.0-rc2 - does not support links for directories

Posted: 2021-07-15 21:38
by boco
Sorry, it wasn't harsh, but tongue-in-cheek. I just forgot the smiley (added).

But glad you are aware and yes, it needs to return. There is no better way to conveniently built an advanced virtual tree using nothing than OS-provided methods. Adding each and any path as resource into FileZilla Server is really bothersome, since there is no filesystem picker, yet.

Note that linked files are fully supported, it's just the directories that fail, so far. Don't do the security thoughts apply to files, too?

Re: Bug report FileZilla Server 1.0.0-rc2 - does not support links for directories

Posted: 2021-11-19 21:33
by CoolGuy
bump :D please do it for me!! I'm still using old version because of that :( :(:(:(

and surprisingly old version has lots of more features .. is it getting DOWNGRADED? lol

Re: Bug report FileZilla Server 1.0.0-rc2 - does not support links for directories

Posted: 2021-11-20 03:27
by boco
Server 1.x is a complete rewrite from scratch, the old codebase is abandoned. So, it's neither up- nor downgrade, but migration to a completely new server software (that happens to use the same name as the old one).

Re: Bug report FileZilla Server 1.0.0-rc2 - does not support links for directories

Posted: 2021-12-01 18:25
by pfilipowicz
I'm using NTFS links to network folders pointed from local drive. Virtual folders in FileZilla are working properly.
When I have changed from version 1.0.1 to 1.1.0 some of the virtual directory definitions containing links have been removed, not all.