Home directory permissions reverting back
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.
|