LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Vsftp ntfs --bind mount problem (https://www.linuxquestions.org/questions/linux-newbie-8/vsftp-ntfs-bind-mount-problem-665981/)

¿F M J¿ 08-28-2008 03:09 AM

Vsftp ntfs --bind mount problem
 
Vsftp ntfs --bind mount problem
Ok running vsftp, login required etc..

I've tried sharing some mounted ntfs drives like so, hasn't work, as flashFXP cant access them but can every other folder..

Quote:

# Put in /etc/vsftpd.conf
# Don't forget to change samurai into your local username
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=NO
listen_port=20
chown_uploads=NO
chown_username=ftp
ftpd_banner=Welcome to blahblah-more-bla FTP service.
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/vsftpd.pem
anon_root=/var/ftp/
made a folder in /var/ftp/

then made a folder inside /var/ftp/ntfs-drive1

then mounted /media/sdd5/ to /var/ftp/ntfs-drive using

Code:

sudo mount --bind /media/sdd5 /var/ftp/ntfs-drive1
then access the ftp and it can enter the folder.. permissions for the folder are 777, didnt help, tried 755, didnt help..

Any ideas ?
__________________

¿F M J¿ 08-29-2008 12:26 AM

Have noticed... if i map a drive from a windows box to the ftp-server box, i can share it and its accessable...

but far as i can tell why is because of its permissions...

e.g.

drwxrwx--- 1 root plugdev 16384 2008-08-29 02:25 sdd5
drwxrwxrwx 1 root root 0 2008-08-29 14:16 Xp-Share

so basically, anything thats plugdev - cannot be viewed on ftp... any remedy on this ?


All times are GMT -5. The time now is 07:09 AM.