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.
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'm running Fedora Core 4, VSFTPD 2.0.3, and PAM 0.79. I've configured the VIRTUAL USERS using the EXAMPLE. The virtual user is khopsic and when it logs in, the local user is cadmin and it is chrooted to /cadmin. I've verified the connections are using the cadmin account via a simple ps.
The setup works fine. I can touch files, create directories, etc login and access them just fine. But this is going to be an FTP server with terrabytes of data that these virtual users will all have download access to. So I created all my mount points within /cadmin, i.e. /cadmin/data01, /cadmin/data02, etc.
When I create the mount points, I can see them via FTP. But as soon as I mount the filesystem, the directories are no longer visible via ftp. I can get to them from a shell prompt, but not ftp.
How can I configure all of the mountpoints to be accessed by the virtual users via the cadmin local user? My guess is it's something with how the filesystem is being mounted, but I can't for the life of me figure out exactly what it is.
Yes, the cadmin user can see the filesystems just fine from the shell prompt. It owns the mount point and the permissions have been set to 777, 750, and 700, all with the same result.
Here's something interesting though. I looked in the audit file and found this:
/dev/hda5 is the volume used for /cdead/data01. Could there be something with how the filesystem was created? I think I may be getting a little closer on this one. Any other help will be GREATLY appreciated. Thanks!
Ah, my guess would be that that is due to SELinux, which I believe FC enables by default. Unfortunately, since I am not too familiar with it, I'm not sure I can help you out with that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.