emberstack / docker-sftp

SFTP Server for Docker
MIT License
196 stars 51 forks source link

custom Directory not working #61

Closed yashphy closed 3 years ago

yashphy commented 3 years ago

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[bot] commented 3 years ago

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

stale[bot] commented 3 years ago

Automatically closed stale item.