I have been working on setting up a small web server for a few friends and myself using the UserDir features in apache 2.x. But I have hit a brick wall when it comes to using a php file managing script that I have been trying to get work. Since my apache setup is set to run on apache:apache I ran into the problem of write permissions for allowing the other users to edit the files that are in their /home/user/phtml_public folder. Now each user account is setup with there usergroup being the same as that of their account. Now I have tried setting up the account so they were all part of the apache group, but this still would not allow editing of their files. The script was setup in the(DocumentRoot)/var/www/html.
Is there a way that I can configure apache to write to specified users groups so their files can be edited using the one centrized application since I cannot run apache as root:root. And if can this be done with out altering the user:group permissions so files can be writen to using ftp which is also setup to use certain system users.
Any help would be much appreciate.