sftp user chroot

12 votes

As per the discord message;

Is there a way to chroot an sftp user into an folder?
Example; say I have an artist that wants to upload his tracks to the radio, I have directory structure like;

radio_files/A/Artist_Name1/files.xxx
radio_files/B/Artist_Name2/files.yyy
radio/files/C/Artist_Name3/files.zzz

If I wanted to give Artist_Name2 sftp access just to radio_files/B/Artist_Name2/ is this possible?

Planned Suggested by: MeaTLoTioN Upvoted: 16 Apr Comments: 0

Comments: 0