apache 2 module's permissions and interaction with system
I'm trying to convert a working module from apache 1 to 2.0.52 on
Fedora Core 3.
My problem is that the module seems to be quite disconnected from the
rest of the system, and in my tests can't manage to:
1. find if an external file exists:
access("path/file",F_OK) returns errno=13 (EACCESS)
2. send signal to a process:
signal(pid,SIGCLD) returns errno=1 (EPERM).
The above problems disappear if I change in httpd.conf the user/group
from apache/apache to some other account.
I conclude that this problem has to do with the permissions of the
apache user/group.
Can someone throw some light on the permissions of the apache account,
and explain if it's possible for a module to interact with the rest of
the system (specifically for the above 2 problems) when running under
this default account ?
Thanks for any or information,
Harry
|