Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I have my Apache server running in the /srv/http/ directory. I changed the group of it to httpadmin and then added my user to that group. Then, I changed the permissions of that directory to rwxrwxr-x, which means everyone in the group httpadmin should be able to write in that directory, right?

Yet, I can't create files in it. What am I missing?

share|improve this question
up vote 4 down vote accepted

After changing your group, you have to log out and log in again for your new group assignment to be active. You can either log out or

share|improve this answer

check your identity with id | grep httpadmin || echo check permissions. command. If you have any output here, you should add yourself to this group. You can use pw, usermod or any same command and then login your system again.

Next point you should check is permissions which written files have. At my home server I use sticky group to doesn't matter about default group I write and permission umask I have.

share|improve this answer

Your Answer


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.