NOTE: Users are chrooted and their local_root
is set to /srv/ftp
.
Why vsftpd forces local chrooted users to have home directory? It will refuse to work if there is not any. And I've found the following in the code:
secutil.c:53
/* Always do the chdir() regardless of whether we are chroot()'ing */
What is the purpose of that? Why should one chdir shortly to home and then to local_root
.