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.
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.
I finally got my ftp server running. I am wondering if there is a way for the user to use symbollic links in his directory. I am trying to link a folder entitled "Images". This is on a mounted harddrive -- /mnt/shares
The fstab for /mnt/shares is
/dev/hdb1 /mnt/shares vfat user,umask=000 0 0
Whenever i try to cd to Images I get an error that says
"550 Failed to change directory."
I have just setup vsftpd in Fedora Pre-3 and have it set such that chroot_local_users=YES, however, for some users, I want them to be able to link to my CDROM (/mnt/cdrom). How do I do it? I tried creating a symlink but that doesn't seem to fly. All permissions look like they are set correctly. Is this a vsftpd thing or is this a config problem?
I have a feeling it is because I have my users chrooted or that vsftpd has taken out this functionality to make a safer system.
Your comments are welcome and I'll post if I have a solution.
J.
I have the exact same problem. I don't want users to be able to browse my entire computer, yet I would like to give them access to ONE directory: /mnt/win_share
looks like we're getting bumped again.... same problem. I have several shared folders from my old (blech-windows) ftp server that I have mounted in /mnt/nfsr that I want shared in my vsftpd server. My users are chroot'd, too.
Thanks RinGz and aafeee. I will try this solution when I get home.
How does this work across multiple users? For example, I have users chrooted to their home directories
/home/usera
/home/userb
And I want to share my cdrom, /mnt/cdrom, with both of them via ftp.
From reading the man page, I suspect it would look like this...
mount --rbind /mnt/cdrom /home/usera
mount --rbind /mnt/cdrom /home/userb
(I will verify if this is correct when I get home)
The man page also says that this feature is only available for kernel's 2.4 and greater (fine for me but might be helpful for future readers)
--bind does not mount any submounts
--rbind does mount all submounts
For the CDROM it probably doesn't matter which you use because there are usually no submounts; it doesn't hurt to use --rbind.
For instance... if you have 3 cdroms mounted as such
/mnt/cdroms/cd1
/mnt/cdroms/cd2
/mnt/cdroms/cd3
Then instead of mounting each CDRom to each home/user directory, you could just mount once.
mount --rbind /mnt/cdroms /home/usera/cdroms
mount --rbind /mnt/cdroms /home/userb/cdroms
with --bind you would need 6 mount statements instead of 2. *shrug* Call me lazy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.