emberstack/docker-sftp

custom Directory not working

yashphy opened this issue · 2 comments

Here is my configuration file.
{
"Global": {
"Chroot": {
"Directory": "%h",
"StartPath": "sftp"
},
"Directories": ["sftp"]
},
"Users": [
{
"Username": "demo",
"Password": "demo"
},
{
"Username": "test",
"Password": "test1234",
"Chroot": {
"Directory": "/data/assets",
"StartPath": "sftp"
}
}
]
}

FYI following works:

{
"Global": {
"Chroot": {
"Directory": "%h",
"StartPath": "sftp"
},
"Directories": ["sftp"]
},
"Users": [
{
"Username": "demo",
"Password": "demo"
},
{

        "Username": "test",
        "Password": "test1234",
        "Chroot": {
            "Directory": "/data",
            "StartPath": "assets"
    }
    }
]

}

I want to make. base directory as /data/assets not /data

stale commented

Automatically marked as stale due to no recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale commented

Automatically closed stale item.