I installed a SFTP server with SSH. But the chroot directory must be owned by root, then the user can't write on it.
Is there any way to allow that user to write in its root directory?
Thanks in advance!
In the vsftpd conf file check for:
allow_writable_chroot=YES
LINK TO MY ANSWER:
Usually you create two folders (could be "in" and "out" or whatever you want) and allow access to those folders, that way the user can't write in / but can write in those folders.