-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
I would like to change the default Global.Chroot to something else, like: %h/sftp. No other Chroot configuration in Users. Still, the users get configured with the default Chroot of %h.
I think I have some hints to the root cause below.
My config is:
{
"Global": {
"Chroot": {
"Directory": "%h/sftp"
}
},
"Users": [
{
"Username": "demo",
"Password": "demo",
}
]
}I wse docker compose:
sftp:
image: "emberstack/sftp:5.1.71"
ports:
- "22:22"
volumes:
- ./secrets/sftp.json:/app/config/sftp.json:ro
- ./volumes/demo/something/:/home/demo/sftp/something/Maybe I am overlooking something and barking up the wrong tree. But after a quick look through the code, here are my thoughts in screenshots:
Metadata
Metadata
Assignees
Labels
No labels




