-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
With respect to the original question - why does apache create files with
the ownership of apache.apache and why with protections of only owner write?
After (gasp!) reading documentation, mostly man pages, and playing around
with it a little, I have learned (and tested) the reason is the "s" bit on
the directory as in:
chmod g+s some_direcory
What this does is force the group ownership of files created in the folder
to be the same as the folder. One can also use the o+s to force the
username.
The above works *without* commenting the "group apache" line in
/etc/httpd/conf/httpd.conf
I have not found a way to force a umask on a particular folder or from
within php or apache.
Hope this is helpful on this topic.
-Stephanie
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.8.3 (Build 4028)
Charset: us-ascii
wj8DBQFInFM7RmFh0h8+YHsRAqq9AKCJF6ElZ+8txfU3Z00d8jGvwsGkyACg56wP
jG1VxLCw4kwbGuRPmVIevU8=
=WNdM
-----END PGP SIGNATURE-----