Ticket #4113 (closed defect: wontfix)
FTP can't restrict to personal directories.
|Reported by:||jjmontes@…||Owned by:||jamor@…|
|Severity:||normal||Keywords:||ftp, personal, directory, chroot|
It's not possible to activate ftp access for local users and restrict them to their personal directories at the same time, unless user directory is read only, wich normally is useless.
Vsftpd error is: 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
Adding "local_root=/home" to vsftpd.conf, solves partially this issue, but chroots to /home instead private user home, and zentyal overrites it.
For local users, a better approach is to define option "passwd_chroot_enable=yes" in vsftpd.conf and set user directory to "/home/./user" (instead "/home/user) in /etc/passwd, but I don't know how to apply it to zentyal users.