mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-11-23 22:04:50 +02:00
always check root dir in multi node setups
Fixes #920 Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -60,6 +60,13 @@ Let's create our first local user:
|
||||
|
||||

|
||||
|
||||
:warning: Please note that, on Linux, SFTPGo runs using a dedicated system user and group called `sftpgo`, for added security. If you want to be able to use diretories outside `/srv/sftpgo` you need to set the appropriate system level permissions. For example if you define `/home/username/test` as home dir you have to create this directory yourself with the proper permissions:
|
||||
|
||||
```shell
|
||||
sudo mkdir /home/username/test
|
||||
sudo chown sftpgo:sftpgo /home/username/test
|
||||
```
|
||||
|
||||
Now test the new user, we use the `sftp` CLI here, you can use any SFTP client.
|
||||
|
||||
```shell
|
||||
|
||||
Reference in New Issue
Block a user