1

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!

Costales
  • 115
  • 7

2 Answers2

2

In the vsftpd conf file check for:

allow_writable_chroot=YES

LINK TO MY ANSWER:

vsftpd does not allow chrooted users write to directory

200mg
  • 190
  • 1
  • 6
0

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.

YoMismo
  • 4,005
  • 1
  • 15
  • 31