Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Anyone know the default user/group for Apache under OS X (10.6)? I'd like to set permissions correctly. Already enabled Web Sharing, etc.

share|improve this question
up vote 22 down vote accepted

Apache user and group are _www and _www.

share|improve this answer

Turns out the answer is in /etc/apache2/original/httpd.conf:

User _www
Group _www
share|improve this answer
$ id _www
uid=70(_www) gid=70(_www) groups=70(_www),404(com.apple.sharepoint.group.3),402(com.apple.sharepoint.group.1),61(localaccounts),12(everyone),403(com.apple.sharepoint.group.2)
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.