Vsftpd access to mounted external drive
hi all,
I am using Fedora Core 8. 2.6.23.1-42 I have mounted /dev/sdb1 which is an ntfs drive to my ftp directory under a folder /ftp/drive unfortunately, my ftp users are unable to access /ftp/drive even though this folder's permissions are just like all the other folders in /ftp Note that file transfers and everything is fully functional to /ftp and all other folders in /ftp the only issue is the mounted external drive so any help here? thanks a bunch this is what my vsftpd.conf file looks like: Code:
# |
If I am not mistaken vsftpd (and some other file servers) won't allow you to see anything within the root folder if it is on another mounted volume, confirm this by mounting your external drive on /ftp/ and see what happens when you restart the server....
|
does vsftpd have ntfs support?, you may want to make it ext3 or fat32 (depending on size) if its smaller than 20GB i'd go with fat32, that way its compatible with just about any OS that should try to access it
|
currently i can create a virtual mount using the command "mount --bind /src /des" and mount any folder outside my chroot directory which is /srv/ftp
i can do this for any folder except for the mounted directory. when my mounted directory is mounted into a folder in /srv/ftp i can access it locally on the pc but cannot see it through vsftp. my mount command was : mount -t ntfs /dev/sdb1 /media/ext mount --bind -o umask=0644 /media/ext /srv/ftp/drive as an ftp client i am unable to view /srv/ftp/drive ownership of /media/ext and /srv/ftp/drive are for root but still all my other folders in /srv/ftp are owned by root and i can access read/write to them with no problems |
making the drive ext3 or fat 32 solves the problem.. but why doesnt ntfs work?
|
because ntfs is not currently fully supported, there are glitches in the modules and your ftp software developers probably decided that in the interest of keeping their software stable, not to support it
|
All times are GMT -5. The time now is 04:20 AM. |