atmoz / sftp

Securely share your files
https://hub.docker.com/r/atmoz/sftp/
MIT License
1.63k stars 822 forks source link

One master account with total control and multiple sub accounts with limited control #297

Open shahzadsystems opened 2 years ago

shahzadsystems commented 2 years ago

Team, Thank you for the great work, I have a scenario and I want to discuss and see if we can achieve that using this container image

I wanted to create a user lets say User-1 and few more user whose home directory will be under users-1 home directory

Lets say user1 will be like /home/user1/ where other users directories e,g, user2 user3 /home/user1/user2 /home/user1/user3 this way

What we want to achieve as below: User1 should have access of all these subdirectors e.g /home/user1/* where user2 user3 should be limited only /home/user1/user2 and /home/user1/user3

is there any way to achieve this, I will be thankful since we are in production and wanted to achieve something like this using your docker containerization solution

lahdesmakimeita commented 2 years ago

I think my answer could help @shahzadsystems https://github.com/atmoz/sftp/issues/262