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

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

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

#1 Post by boco » 2021-07-11 01:31

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.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

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

#2 Post by boco » 2021-07-14 15:41

Bump. You are ignoring me! :roll:
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

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

#3 Post by botg » 2021-07-15 19:18

I don't have anything smart to say, other than it's under consideration. Proper symlink handling needs care to avoid potential security issues.

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

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

#4 Post by boco » 2021-07-15 21:38

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?
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

CoolGuy
500 Command not understood
Posts: 1
Joined: 2021-11-19 21:30
First name: Charlie
Last name: Chuckles

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

#5 Post by CoolGuy » 2021-11-19 21:33

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

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

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

#6 Post by boco » 2021-11-20 03:27

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).
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

pfilipowicz
500 Command not understood
Posts: 2
Joined: 2021-12-01 18:14

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

#7 Post by pfilipowicz » 2021-12-01 18:25

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.

Post Reply