Newly created directories and files have Apache:Apache ownership

tmg-studio

Verified User
Joined
Feb 10, 2008
Messages
5
We have a DA server running php5 / Apache 2 and have an issue I am ready to pay someone to fix as our current sys admin says there is not an answer for this short of running cron every 60 seconds, which I do not believe to be a viable answer.

We do a lot of Drupal work and as such we use modules that auto create directories and files based on user creation and file uploading. When these new directories and files are created by the Drupal system (read PHP) the files and folders have Apache as the owner and group with 644 permissions. Unfortunately for many instances this is bad, because it means that files cannot be managed via FTP and the users cannot add and delete files via browser based interfaces after the fact.

I really need a solution for this fast. If someone cannot volunteer the answer, I am ready to pay someone to find a fix. I have worked in many other control panel environments and never had this issue. If we cannot find an answer, I am affraid we will be forced to look for a new system to admin our sites.
 
There are many benchmarks and tests done :) Just search on google ("mod_php vs. suphp" or "mod_php vs. cgi").
 
Back
Top