Unable to create new directories in /srv/www

Webnet asked:

/srv/www was root:root but I changed it to wwwrun:web (if this is a bad idea don’t hesitate to tell me).

user@Web2:/srv> ll
total 8
drwxr-xr-x 2 root   root 4096 May  5  2010 ftp
drwxrwxr-x 3 wwwrun web  4096 May  2 14:39 www

my user is also in the web group and is unable to create directories within www. How come, if we’re in the same group?

I do need apache to be able to serve these files.

My answer:


Make sure that you’re actually in the web group before you start your operations:

newgrp web

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.