Closed Memes11 closed 2 years ago
@Memes11 that's a chroot limitation (root has to own the folders and have very limited permissions) otherwise sshd will not start (not a limitation of this project). You must tinker with the CHROOT settings if you need to get this working. Unfortunately the setup is quite complex and I cannot assist on this.
I have my user set :
USER
I mount in the container a folder from my disk :-v /home/USER:/mnt/user/share/SFTP
My folder/mnt/user/share
is also accessed locally by SambaWhen I start the
emberstack/docker-sftp
container, it is changing the permissions of my folder/mnt/user/share/SFTP
to711
with ownerroot:root
so it is not accessible anymore through Samba.How can I force which user the container is running as? (so I can set it to be my Samba user) or How can I set the permissions to remain unchanged or force them to
777
or755
?