vsftpd chroot local user & access outside folder
vsftpd does not follow symlink under a local user's home folder if chroot is enabled. 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 mount feature for new kernels after 1.6 as follows:
> mount --bind outside/dir home/dir
it makes a folder accessible at two places. a nice trick.
> mount --bind outside/dir home/dir
it makes a folder accessible at two places. a nice trick.
2 Comments:
How do you make this automated upon reboot?
By Brett, at 11:15 AM
You need to add the rules to /etc/fstab
By Unknown, at 3:52 AM
Post a Comment
<< Home