As we know by default vsftpd will configure the anonymous directory to /var/ftp/pub which is great to share files with users
After trying a lot of different configurations this is what worked for me:
Code:
mkdir /home/pub
mv /var/ftp/pub/* /home/pub/
rm -rf /var/ftp/pub
mount --bind /home/pub/ /var/ftp/pub/
I have a feeling that vsftpd does not lets you browse symlinks but will work with mounted filesystems (bind method).
沒有留言:
張貼留言