Access rights on groups with apache

Access rights on groups with apache

am 06.08.2007 18:04:32 von Aleksandra

Hi there,

somehow I have a problem with group access rights.
Following setup:

-r--r----- 1 webserver staff 5 Aug 6 17:54 test.html
groups webserver : www staff

As soon as I change the owner of the file to user "merlin" who is also
member of the group staff I do get a permission problem with apache.

How can this be? Apache 1.x is running under user "webserver", at least
that is what the config says. Looking at the process it gives back the
user id "502" as runner. That is the user id of the user "webserver".

Is this a bug, or is it not possible to run apache with only a member of
the group?

This is a development setup, not production. There are several reasons
why it needs to be run like this.

Can somebody give me a hint on how to solve this?

Thank you in advance for any help.

Merlin

Re: Access rights on groups with apache

am 06.08.2007 18:10:22 von Aleksandra

Merlin Morgenstern schrieb:
> Hi there,
>
> somehow I have a problem with group access rights.
> Following setup:
>
> -r--r----- 1 webserver staff 5 Aug 6 17:54 test.html
> groups webserver : www staff
>
> As soon as I change the owner of the file to user "merlin" who is also
> member of the group staff I do get a permission problem with apache.
>
> How can this be? Apache 1.x is running under user "webserver", at least
> that is what the config says. Looking at the process it gives back the
> user id "502" as runner. That is the user id of the user "webserver".
>
> Is this a bug, or is it not possible to run apache with only a member of
> the group?
>
> This is a development setup, not production. There are several reasons
> why it needs to be run like this.
>
> Can somebody give me a hint on how to solve this?
>
> Thank you in advance for any help.
>
> Merlin

solved. I had in the httpd.conf the wrong group name.