| Article: |
Apache Web-Serving with Mac OS X, Part 4 | |
| Subject: | Apache Permissions and PHP mkdir() | |
| Date: | 2002-04-10 08:49:55 | |
| From: | tedmasterweb | |
|
On OS X by default Apache runs as the user www and belongs to the group www. Also, by default, when I create a new directory in /Library/WebServer for use as a virtual host (for development purposes, let's say), the directory is created with me as the owner and admin as the group. This is a problem if you want to allow Apache to modify the directory structure because www is not a member of the admin group.
|
||
Showing messages 1 through 1 of 1.
-
Apache Permissions and PHP mkdir()
2002-04-16 17:24:37 Morbus Iff |
[View]



I don't know if PHP has the same ability, but it does have a chown function so you may want to experiment there.