Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Local Disk - Home Directory Not Updating #1762

Open
2 tasks done
jswain78 opened this issue Sep 20, 2024 · 0 comments
Open
2 tasks done

[Bug]: Local Disk - Home Directory Not Updating #1762

jswain78 opened this issue Sep 20, 2024 · 0 comments
Labels
support request request for free support. Check out our support policy

Comments

@jswain78
Copy link

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration issue.
  • This issue is not already reported on Github (I've searched it).

Bug description

I am not sure if this is truly a bug, or maybe I am using the system wrong, but my home directories aren't "updating" (causing the client to see the new home directory). I am running SFTP Go on a Windows Server 2022 machine. All of my users are set to just have password authentication. I'm not doing anything complex, just a simple SFTP server. All the users are set to File System: Local Disk. When I create a user, and set the Root Directory, the user is, as expected, put into that directory as their "root" directory on login.

The problem, is that if I update the Root Directory to a different directory, then the client, even on reconnect, isn't put into this new directory.

I have tried setting to another weird directory, connecting, reconnecting, refreshing, nothing works. I even tried restarting the Windows service.

The only way I have found to get the update to occur is recreating the user.

I am using the web interface to edit the user information. The user is edited with /web/admin/users. The change shows up in /web/admin/users/json. I even poked around some of the files in the "Data" directory and the "sftpgo.db" seems to have the change as well.

Again, this might be a problem with my configuration, but there seems to be a disconnect between the UI/configuration and the actual SFTP server.

Steps to reproduce

Expected behavior

I would expect the user to be updated to the new root directory when it is changed in the UI.

SFTPGo version

v2.6.2_windows_x86_64

Data provider

Local Disk

Installation method

Other

Configuration

The main change I made was switching the SFTP port to 22. I also have config changes to allow the web interface to use SSL, as well as SMTP. All these changes are through environmental variables.

Relevant log output

No response

What are you using SFTPGo for?

Medium business

Additional info

No response

@jswain78 jswain78 added the bug Something isn't working label Sep 20, 2024
@drakkan drakkan added support request request for free support. Check out our support policy and removed bug Something isn't working labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support request request for free support. Check out our support policy
Projects
None yet
Development

No branches or pull requests

2 participants