UNC paths not working?

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
WingDog
504 Command not implemented
Posts: 6
Joined: 2023-09-06 11:19

UNC paths not working?

#1 Post by WingDog » 2023-09-06 11:23

Hello!
have got new version of FZ server and can't make it work with UNC paths like \\server\share

here is screenshot.
how to fix it?
Thanks!

Image
Attachments
2023-09-06_14-18-13.png
2023-09-06_14-18-13.png (238.95 KiB) Viewed 2027 times

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

Re: UNC paths not working?

#2 Post by botg » 2023-09-06 11:54

Make sure the Windows account the FileZilla Server service is running under has permissions to access the UNC share without Windows requiring any further login information.

WingDog
504 Command not implemented
Posts: 6
Joined: 2023-09-06 11:19

Re: UNC paths not working?

#3 Post by WingDog » 2023-09-06 12:40

botg wrote:
2023-09-06 11:54
Make sure the Windows account the FileZilla Server service is running under has permissions to access the UNC share without Windows requiring any further login information.
tried to change account for this service to new windows account with local administrator rights. lost FZ config.
granted direct NTFS permissions to "C:\Program Files\FileZilla Server" and "C:\ProgramData\filezilla-server" for this user with Replace. no FZ config.
don't want to dig with process explorer trying to figute out what's wrong for now, honestly.
why did you separate Configs and Application between ProgramData and ProgramFiles? both paths are protected and require additional rights to write into. any logic?

rollback to LOCAL SYSTEM account. btw, shares at NAS have Guest RW access with Guest Enabled.
any ideas?

UPD: and how to enable FZ server debug log? want to check "Access Denied" or something like that, but cot coffee cup.

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

Re: UNC paths not working?

#4 Post by botg » 2023-09-06 13:37

Server config is bound to the account the service runs under. Use the Export and Import items in the admin UI to transfer settings between services.

WingDog
504 Command not implemented
Posts: 6
Joined: 2023-09-06 11:19

Re: UNC paths not working?

#5 Post by WingDog » 2023-09-06 13:42

botg wrote:
2023-09-06 13:37
Server config is bound to the account the service runs under. Use the Export and Import items in the admin UI to transfer settings between services.
how exactly is it bound? what is "config"?

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

Re: UNC paths not working?

#6 Post by botg » 2023-09-06 14:14

Each Windows user account uses a separate settings directory. If you change the account the service runs under, the settings are thus stored in a different location.

WingDog
504 Command not implemented
Posts: 6
Joined: 2023-09-06 11:19

Re: UNC paths not working?

#7 Post by WingDog » 2023-09-06 14:17

botg wrote:
2023-09-06 14:14
Each Windows user account uses a separate settings directory. If you change the account the service runs under, the settings are thus stored in a different location.
the third place for config files? wow! look's great!
where is this settings directory? let me guess - somethere inside user profile?

WingDog
504 Command not implemented
Posts: 6
Joined: 2023-09-06 11:19

Re: UNC paths not working?

#8 Post by WingDog » 2023-09-07 05:48

botg
after investigating with ProcMon's help FZ service startup and export process I didn't find any additional config files. Exported config file is nothing more than merged config files from C:\ProgramData\filezilla-server.
so can you pour this configuration darkness with some light of knowledge?
I really understand that revert back to the old good-working version of FZ is much easier but just want to figure out this brand new rewtitten from the scratch version that seems to be a little limp to the both legs.

P.S. don't be offended =)

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

Re: UNC paths not working?

#9 Post by botg » 2023-09-07 07:41

On Windows the settings are stored in %LOCALAPPDATA%\filezilla-server of the respective user account, unless said account is SYSTEM, in which case it's %PROGRAMDATA%\FileZillaServer

You should not meddle directly with the settings directory, doing so likely screws up the file permissions, creating a gaping security hole in the process.

WingDog
504 Command not implemented
Posts: 6
Joined: 2023-09-06 11:19

Re: UNC paths not working?

#10 Post by WingDog » 2023-09-07 08:35

botg wrote:
2023-09-07 07:41
On Windows the settings are stored in %LOCALAPPDATA%\filezilla-server of the respective user account, unless said account is SYSTEM, in which case it's %PROGRAMDATA%\FileZillaServer
ok, thanks!

Post Reply