0

/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.

3
  • 1
    are you using something like redhat or centos?
    – Mike
    May 2, 2013 at 19:23
  • Slackware most likely. May 2, 2013 at 19:47
  • We are using SUSE Linux Enterprise Server 11 (x86_64)
    – Ben
    May 2, 2013 at 19:57

1 Answer 1

0

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

newgrp web
3
  • groups user shows: user : web so I know I am in that group.
    – Ben
    May 2, 2013 at 19:56
  • At least try it before you reject the idea. May 2, 2013 at 19:57
  • Ah... so you're saying I needed to refresh my groups and/or reconnect before it would recognize I'm in the new group. That worked. I thought the command was trying to create the group.
    – Ben
    May 2, 2013 at 20:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .