Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Well, I am trying to configure my FTP server with some virtual folders under a chrooted environment. I think in linux they are called symlinks. Any way, when users log onto my ftp, they are immediately sent to their home directory in a chroot environment. I want to link to another part of my harddrive that isn't in their chroot path. How do I make a link so that they can go to that other folder?
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
what you've said works.
before chrooting, in a subdir in the chroot environment
ln -s directorytolink nameoflink
then when they are chrooted into it,
they can cd nameoflink, and woot, there it is.
that was probably the first time i ever typed woot,
by the way
If you say they are sent to their chroot, which you didn't expect, you want to change their home dir in the ftpd config if that's what you mean.
If OTOH you want to add dirs *under* the users home you could try using the --bind flag to mount the dirs, but I'd hope any decent ftpd will deny access, what you're trying to do defeats the purpose of chrooting AFAIK.
My users will log into their chrooted envirnment which is specified by their home dirs. I have a symlink to a different folder called media in each home directory. When they try to change to that directory, I get the error, failed to change directory. Anything else that I can do?