I try a seemingly simple thing: SFTP access (read/write/everything) for the users on my Ubuntu system, but the FTP access should be limited to a subfolder in their home directory.
Now I tried 2 things:
Using vsftpd: But I cannot set the chroot as writeable. Giving me an error: 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
Using mysecureshell: The Home parameter doesn't seem to work, I always end up in the home folder of the user.
What is the best way to accomplish this? How are all those shared hosting companies doing it?