Files
flutter_server_box/lib/data/res
GT610 84a1bd5519 fix(sftp): FIx Permission Denied While Accessing SFTP (#1019)
* fix(storage): Set the initial SFTP path based on the user's role

When the user is not root, set the initial path to `/home/$user`. For root users, use `/root` as the path

* chore: Add issue participants into github_id

* fix(sftp): Improved the logic for obtaining the initial path and asynchronously processed directory listings

Attempt to obtain the user's home directory path by executing a command, and fall back to the default path if it fails. At the same time, change the _listDir call to asynchronous to avoid potential issues.

* fix(storage): Fixed the logic for determining the initial path of SFTP

Change the condition from checking if the path is not equal to '~' to checking if the path starts with '/', to ensure the correct user home directory path is obtained
2026-01-22 13:49:48 +08:00
..
2026-01-19 09:40:31 +08:00
2024-03-20 14:29:22 +08:00
2023-11-27 17:35:15 +08:00
2024-06-05 21:58:19 +08:00
2025-06-05 07:31:45 +08:00
2025-09-02 19:41:56 +08:00
2024-04-22 01:19:07 +08:00