||Apache Web-Serving with Mac OS X, Part 4|
|Subject:||Apache Permissions and PHP mkdir()|
Response to: Apache Permissions and PHP mkdir()
Apache does come with a "suexec" option, which allows you to say "hey, run these CGI scripts as morbus/users". By so doing, all files your scripts create would be owned by the "morbus" user, and would have the default umask normally set (644, I believe).