vsftpd chroot local user and access outside folder

Why don't symlinks work with chroot_local_user=YES?

vsftpd does not follow symlink under a local user's home folder if chroot is enabled. This is a consequence of how chroot() security works.This is quite annoying if you try to provide download but don't want to move files at different partitions. there is a solution by using a powerful mount feature for new kernels after 1.6 as follows:

> mount --bind outside/dir home/dir

It makes a folder accessible at two places.

Labels: