Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-06-2005, 01:29 PM
|
#1
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Rep:
|
browsing ntfs partitions via ftp
hello everyone.
i mounted 1 ntfs partition in my fedora4, then, with vsftpd i start my ftp server.
when i log in, i cant see my /mnt directory, it is invisible to my ftp client. i changed the '/mnt/windows' mount point to '/home/user1/windows' but still nothing, my ftp client can see every single directory except for the one with the ntfs partition mounted. I even changed the mount point to to /home/user1/windowsD and my client was able to see the emty folder of /home/user1/windows, but the /home/user1/widnowsD is now invisible.
what can i do to access the ntfs partitions via ftp?
thanx 
|
|
|
09-06-2005, 02:05 PM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Can you see the folder from the computer locally? Can you access files in it?
vsftpd may be set up NOT to traverse mountpoints.
|
|
|
09-07-2005, 04:49 PM
|
#3
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Original Poster
Rep:
|
yes i can!
it is perfectly mounted, i can read every file
i think it is set up not to traverse mountpoint
but then, how do i configure vsftpd to see the mountpoints?
|
|
|
09-07-2005, 09:40 PM
|
#4
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Can you post the output of the 'mount' command? I see no specific related options in the vsftpd.conf manpage, however I do wonder if the user vsftpd runs as can read those directories.
|
|
|
09-08-2005, 10:46 PM
|
#5
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Original Poster
Rep:
|
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
/dev/proc on /proc type proc (rw)
/dev/sys on /sys type sysfs (rw)
/dev/devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda6 on /boot type ext3 (rw)
/dev/shm on /dev/shm type tmpfs (rw)
/dev/hda1 on /mnt/windows type ntfs (ro,noexec,nosuid,nodev,umask=000)
/dev/hda5 on /mnt/windowsD type ntfs (ro,noexec,nosuid,nodev,umask=000)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
automount(pid2132) on /misc type autofs (rw,fd=4,pgrp=2132,minproto=2,maxproto=4)
automount(pid2167) on /net type autofs (rw,fd=4,pgrp=2167,minproto=2,maxproto=4)
then i run the command "mount --move /mnt/windows /home/user1/windows"
before i do that, i can access /home/user1/windows emty dir with no problem
but after i mount it, the folder does not appears any more in the ftp client, but if i localy browse
it i can see all the files of the partition mounted, i dont know what is going on here.
thanx
|
|
|
09-14-2005, 09:28 AM
|
#6
|
LQ Newbie
Registered: Sep 2005
Distribution: Fedora Core 4
Posts: 2
Rep:
|
Hi,
just in order to help finding the solution, I am experiencing the same problem but without Windows.
I have a laptop only with 1 HD which has some partitions:
Code:
[root@hobbes vsftpd]# mount
/dev/hda3 on / type ext3 (rw)
/dev/proc on /proc type proc (rw)
/dev/sys on /sys type sysfs (rw)
/dev/devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)
/dev/shm on /dev/shm type tmpfs (rw)
/dev/hda6 on /home type ext3 (rw)
/dev/hda8 on /mnt/hd2 type ext2 (rw)
/dev/hda7 on /s type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/hdc on /media/cdrecorder type udf (rw,nosuid,nodev,_netdev,user=bart)
When I log with a local user using "ftp localhost" and make "ls /" I get:
Code:
ftp> ls /
227 Entering Passive Mode (127,0,0,1,241,50)
150 Here comes the directory listing.
drwxr-xr-x 10 0 0 5140 Sep 14 12:20 dev
drwxr-xr-x 95 0 0 12288 Sep 14 14:08 etc
drwxr-xr-x 10 0 0 4096 Jul 28 19:18 home
drwxr-xr-x 11 0 0 4096 Aug 31 08:11 lib
drwxr-xr-x 20 0 0 4096 Aug 24 11:01 opt
dr-xr-xr-x 127 0 0 0 Sep 14 2005 proc
drwxr-x--- 44 0 0 4096 Sep 14 13:09 root
drwxr-xr-x 2 0 0 4096 May 23 04:28 srv
drwxr-xr-x 10 0 0 0 Sep 14 2005 sys
drwxrwxrwt 19 0 0 16384 Sep 14 14:10 tmp
drwxr-xr-x 14 0 0 4096 Sep 07 2004 usr
drwxr-xr-x 26 0 0 4096 Aug 10 13:30 var
226 Directory send OK.
Note that the directories for /s, /boot and /mnt/hd2, which are other partitions from the same /dev/hda, simply are not shown. And I am pretty sure I can access them locally with the same user I am logging in.
I searched the net and read the whole vsftpd.conf man page but couldn't find anything related to partitions, mountpoint or device restrictions.
Any one has a clue?
Regards,
Thiago
|
|
|
All times are GMT -5. The time now is 08:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|