Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I'm working on an ftp server that uses the home directory for the ftp user as the anonymous user folder. Anonymous users can't upload, but I want other users to be able to upload to that area. I added those users to the ftp group then did "chmod 770 /home/ftp" so that people in the ftp group could write to the directory. Then I made symlinks from the home directories of the users to /home/ftp.
Everything worked fine at first. I could login as those users with ssh (which was how I was doing all the work) and with ftp and I could read and write to /home/ftp with two different users. However, I logged back in later with ssh and the permissions of /home/ftp had changed back to 700. Neither user could follow the symlinks using either ssh or ftp, so the permissions were definitely changed.
If I log out and back into ssh soon after I do this, the symlink still works. I'm thinking it's time-based, to the tune of a few minutes.
The server runs Mandrake 9.2. I would appreciate any ideas.
If you want to provide one or more real users with the same access to the file system that they would have if they logged in directly, you could redfine that user or group as real by setting a realuser or realgroup value for the user or group, respectively.(For example, add a line that reads "realuser joe".)
I don't think it has anything to do with ftp problems, because it's doing the same thing over ssh. I've done some tests and this problem affects every folder in /home, whether it be a home directory or not. Regardless of the folder mode, it is changed back to 700. I'm guessing it's some mandrake service running, so I'll look into that.