Linux - NetworkingThis 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.
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?
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.
/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.
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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.