Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

3 Answers

up vote 14 down vote accepted

Apache user and group are _www and _www.

share|improve this answer
add comment

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

User _www
Group _www
share|improve this answer
add comment
$ 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
add comment

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.