Fedora notes

Sunday, July 31, 2005

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.

2 Comments:

Post a Comment

<< Home