vsftpd + mount --bind does not work
I want to share files on the windows parititions via the anonymous vsftpd server. Since the default root directory of vsftpd is /var/ftp and those windows partitions are mounted on /mnt/windows, I decide to use 'mount --bind' so that my anonymous ftp users can access files on windows partitions even though they log into the default diretory '/var/ftp'.
In order to accomplish this, I do the following:
(1) mount windows parititions
/dev/hdb5 /mnt/windowsD vfat defaults 0 0
/dev/hdb6 /mnt/windowsE ntfs ro,umask=0222 0 0
(2) map shared windows directories to vsftpd root directory
mount --bind /mnt/windowsD/Doc /var/ftp/pub/doc
mount --bind /mnt/windowsE/Papers /var/ftp/pub/papers
The above two operations are successful since I can access the corresponding files in Nautilus. But when I use a browser (both IE and mozilla), I cannot see the two directories (/var/ftp/pub/doc and /var/ftp/pub/papers).
Could someone help me with this issue, thanks in advance.
BTW, I user fedora core 4, vsftpd 2.0.3-1.