PHP mkdir and apache ownership
Posted
by elcorazon
on Stack Overflow
See other posts from Stack Overflow
or by elcorazon
Published on 2010-04-01T13:45:05Z
Indexed on
2010/04/01
14:13 UTC
Read the original article
Hit count: 469
Is there a way to set php running under apache to create folders with the folder owned by the owner of the program that creates it instead of being owned by apache?
Using word press it creates new folders to upload into but these are owned by apache.apache and not by the site that they are running in. This also happens using ostickets. For now we have to SSH into the server and chmod the folder, but it would seem there would be a setting somewhere to override the ownership outside of any program that does it.
© Stack Overflow or respective owner