I hope I am not asking something already covered, but I couldn't find much about this.
Fedorea core 3, apache 2.0.53
httpd runs under user apache group apache
When I use PHP programs to create directories or files they are owned by apache.apache. Later I can't write to those directories.
An exapmle, I create a directory in an images file, it is owned by apache.apache. When I try to write a file to that directory with the same program, it won't go until I chown that directory to the web owner.web group.
suExec is off, my webs are created in /home/www
What do I need to do to change this behavior so that the PHP programs create directories and files owned by the web user.web group?