LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apache+proftpd+permissions (https://www.linuxquestions.org/questions/linux-software-2/apache-proftpd-permissions-565304/)

NightSoul 06-29-2007 03:16 AM

apache+proftpd+permissions
 
Hello,

I have a linux server, there is some www+ftp users in my system. Yesterday I have a problem, when my friend said that he can't delete some files and directories from his ftp user. I looked to these files and saw, that they belong to nobody:nobody(my apache server also work as nobody:nobody). And I asked him, maybe he used php script that created files and he said that yes. Then I understoot that these files are created by apache service and thats why these files belong to nobody:nobody.

So my quoestion, how to solve this problem? I tried to configure proftpd, that he could delete other user's files, but it not worked(tried FakeDirUser,FakeDirGroup, FakeDirMode, umask, GroupOwner), the users still can't delete files, created by other user.

May be you can give me some suggestions, how to fix this? :)

P.S. Now I created a bash script, that chowns all files in users www dir to that user avery 10 minutes, but I think this is not good...

Sorry for my english.

Thanks.


All times are GMT -5. The time now is 09:08 AM.