Page 1 of 1

Server 1.2.0 - Path Setting

Posted: 2022-01-23 14:46
by emc2peer
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 9726 times

Re: Server 1.2.0 - Path Setting

Posted: 2022-01-23 23:48
by boco
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.

Re: Server 1.2.0 - Path Setting

Posted: 2022-01-24 06:40
by oibaf
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.

Re: Server 1.2.0 - Path Setting

Posted: 2022-01-24 09:25
by emc2peer
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

Re: Server 1.2.0 - Path Setting

Posted: 2022-01-24 10:32
by edufissure3
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

Re: Server 1.2.0 - Path Setting

Posted: 2022-01-24 12:56
by oibaf
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!

Re: Server 1.2.0 - Path Setting

Posted: 2022-01-24 12:57
by oibaf
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.

Re: Server 1.2.0 - Path Setting

Posted: 2022-01-24 18:52
by edufissure3
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.

Re: Server 1.2.0 - Path Setting

Posted: 2022-01-25 08:44
by emc2peer
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.