Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I am using my MacBook as a local dev environment. In order to make the files publishable I had to give my web folder user and group of _www:_www using chown.

I'm using another account to log into my MacBook and it will not let me edit the files. I have also tried adding my user to _www group using the following command, but still no success.

sudo dseditgroup -o edit -a myusername -t user _www
share|improve this question

migrated from Feb 7 '12 at 1:51

This question came from our site for system and network administrators.

Can you post the exact permissions of the folders, i.e. do a ls -la listing? – slhck Feb 7 '12 at 12:55
drwxr-xr-x@ 12 _www _www 408 Feb 5 09:40 Symfony – jini Feb 7 '12 at 15:49
@jini: This folder isn't group-writeable (characters 5-7 are r-x, instead of rwx). As such, mysername:_www will not be able to modify your files. You should do chmod -R g+w _www using your _www user. – Karolos Feb 7 '12 at 15:56

Adding your user to the _www group isn't enough: the files must be group-writeable for the members of the group _www to modify the files.

You should use the _www user (or sudo) to modify the permissions of the files, as so:

chmod -R g+w _www
share|improve this answer
I did: sudo dseditgroup -o edit -a myusername -t user _www I then did sudo chmod -R g+w Symfony Now I am able to do what I needed to do. My permissions on the Symfony folder are: drwxrwxr-x everything cool? – jini Feb 7 '12 at 16:06
@jini: Yes. Things are OK. Given its a local setup it's OK with the last part being (r-x), i.e. everybody that has an account on your machine can read (and "open") the _www folder, but not write to it. In case security matters (i.e. on a public server), you'd want to make a chmod -R o-r _www (i.e. remove the reading privilege for "others", which means all the users that are not _www, nor part of the group _www). – Karolos Feb 7 '12 at 16:10
thanks for your help – jini Feb 7 '12 at 16:16
@jini: Please accept this answer if it did the job, so that future users can see it more easily. – Karolos Feb 11 '12 at 23:05

Your Answer


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