Server 1.2.0 - Path Setting

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
emc2peer
500 Command not understood
Posts: 5
Joined: 2022-01-23 14:32

Server 1.2.0 - Path Setting

#1 Post by emc2peer » 2022-01-23 14:46

Hi,

I try the new version of server for Windows. I noticed a bug (Please contact a developer) when I set Paths.
There was a home path in v0.9.60. But not in v1.2.0.

But it is necessary to set "/ - C:\some_folder" or the bug will appear.
It is better for me to decide whether I want a real folder as root, or only virtual unwritable root with virtual subfolders.

FileZilla_Server_Paths.png
FileZilla_Server_Paths.png (20.5 KiB) Viewed 8636 times

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

Re: Server 1.2.0 - Path Setting

#2 Post by boco » 2022-01-23 23:48

Well, there is a simple explanation: The root ( / ) setting IS the Home path. It's the very same, the directory you set here is the one the user starts in.
### 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
oibaf
Contributor
Posts: 396
Joined: 2021-07-16 21:02
First name: Fabio
Last name: Alemagna

Re: Server 1.2.0 - Path Setting

#3 Post by oibaf » 2022-01-24 06:40

The design originally allowed for such a set up: if there's not an explicit "/" mountpoint, then an implicit one is created on the basis of the other mountpoints. However, a regression broke that.

It's now fixed and the next release will work as expected. Meanwhile, you might want to try out the nightly builds.

emc2peer
500 Command not understood
Posts: 5
Joined: 2022-01-23 14:32

Re: Server 1.2.0 - Path Setting

#4 Post by emc2peer » 2022-01-24 09:25

oibaf wrote:
2022-01-24 06:40
Thank you for the explanation.
--
I tried a nightly build (sha256 ab74ececce92b726a1dbae01163796a84b4d5c57e3f0c76e69f146e020f60a07).
There is another bug (I think).

Paths are set as: "/d - d:\" and "/e - e:\" (see the picture above). It seems to work fine.
But... If I am inside subfolder, it is impossible to return back to "virtual root" (de facto just a signpost of folders).

Code: Select all

257 "/" is current directory.
...
CWD d
250 CWD command successful
PWD
257 "/d" is current directory.
...
CDUP
550 Permission denied

edufissure3
550 Permission denied
Posts: 29
Joined: 2022-01-16 12:04
First name: Eduardo
Last name: Gutierrez

Re: Server 1.2.0 - Path Setting

#5 Post by edufissure3 » 2022-01-24 10:32

So if i understand , in nightly builds and new version when is released, you dont have to set a / virtual path in users is mandatory ?

I think in groups you dont have to put a / virtual path is not mandatory.

Thanks
emc2peer wrote:
2022-01-24 09:25
oibaf wrote:
2022-01-24 06:40
Thank you for the explanation.
--
I tried a nightly build (sha256 ab74ececce92b726a1dbae01163796a84b4d5c57e3f0c76e69f146e020f60a07).
There is another bug (I think).

Paths are set as: "/d - d:\" and "/e - e:\" (see the picture above). It seems to work fine.
But... If I am inside subfolder, it is impossible to return back to "virtual root" (de facto just a signpost of folders).

Code: Select all

257 "/" is current directory.
...
CWD d
250 CWD command successful
PWD
257 "/d" is current directory.
...
CDUP
550 Permission denied

User avatar
oibaf
Contributor
Posts: 396
Joined: 2021-07-16 21:02
First name: Fabio
Last name: Alemagna

Re: Server 1.2.0 - Path Setting

#6 Post by oibaf » 2022-01-24 12:56

emc2peer wrote:
2022-01-24 09:25
[..]
But... If I am inside subfolder, it is impossible to return back to "virtual root" (de facto just a signpost of folders).

Code: Select all

257 "/" is current directory.
...
CWD d
250 CWD command successful
PWD
257 "/d" is current directory.
...
CDUP
550 Permission denied
You're right, found the bug and fixed. You'll find the fix in the next nightly build.

Thanks for reporting!

User avatar
oibaf
Contributor
Posts: 396
Joined: 2021-07-16 21:02
First name: Fabio
Last name: Alemagna

Re: Server 1.2.0 - Path Setting

#7 Post by oibaf » 2022-01-24 12:57

edufissure3 wrote:
2022-01-24 10:32
So if i understand , in nightly builds and new version when is released, you dont have to set a / virtual path in users is mandatory ?
Yes, the "/" virtual path is not necessary.

edufissure3
550 Permission denied
Posts: 29
Joined: 2022-01-16 12:04
First name: Eduardo
Last name: Gutierrez

Re: Server 1.2.0 - Path Setting

#8 Post by edufissure3 » 2022-01-24 18:52

I think in groups you dont have to put a / virtual path is not mandatory. ??
if its not mandatory it was always, or since the latest nightly builds....

Thanks
oibaf wrote:
2022-01-24 12:57
edufissure3 wrote:
2022-01-24 10:32
So if i understand , in nightly builds and new version when is released, you dont have to set a / virtual path in users is mandatory ?
Yes, the "/" virtual path is not necessary.

emc2peer
500 Command not understood
Posts: 5
Joined: 2022-01-23 14:32

Re: Server 1.2.0 - Path Setting

#9 Post by emc2peer » 2022-01-25 08:44

oibaf wrote:
2022-01-24 12:56
You're right, found the bug and fixed. You'll find the fix in the next nightly build.
Great. Now it works as I want. Thanks.

Post Reply