LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2008, 03:09 AM   #1
¿F M J¿
Member
 
Registered: Feb 2004
Location: New Zealand
Distribution: Ubuntu Hardy Heron, Fedora Core 3
Posts: 45

Rep: Reputation: 15
Question 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 ?
__________________
 
Old 08-29-2008, 12:26 AM   #2
¿F M J¿
Member
 
Registered: Feb 2004
Location: New Zealand
Distribution: Ubuntu Hardy Heron, Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
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 ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NTFS HDD Mount Problem Lindumbo Linux - Hardware 4 11-20-2007 08:34 PM
ntfs-mount problem sijomon_nd Red Hat 3 08-30-2007 01:20 AM
Mount --bind & NFS problem BerlinBadger Linux - Networking 2 12-02-2005 12:25 PM
mount --bind (fstab problem) renski Linux - General 2 11-17-2005 03:50 PM
Mount problem with ntfs chiwi Linux - Newbie 2 06-10-2003 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration