Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Apache permissions
Message
General information
Forum:
Linux
Category:
Web tools
Miscellaneous
Thread ID:
00968807
Message ID:
00969211
Views:
15
>>I am trying to run TRAC but I get the following error message:
>>
EnvironmentError: The web server user requires read _and_ write permission
>>to the database /misc/projects/db/trac.db and the directory this file is located in.
>>
>>The thing is, that apache belongs to a group that is given rw permission to that directory tree and all the files. What am I missing?
>
>
>Have you tried using 'ps -aux|grep apache' to see what user started apache, in my system it's www-data... add that username to the group gopher.
>
>Let me know if this helps.

Not really. This is the output:
[root@ls2 /]# ps -aux|grep apache
apache 28010 0.0 1.0 18720 2396 ? S Dec12 0:00 /usr/sbin/httpd
apache 28011 0.0 0.7 18652 1756 ? S Dec12 0:00 /usr/sbin/httpd
apache 28012 0.0 0.6 18652 1668 ? S Dec12 0:00 /usr/sbin/httpd
apache 28013 0.0 0.6 18652 1668 ? S Dec12 0:00 /usr/sbin/httpd
apache 28014 0.0 0.7 18680 1708 ? S Dec12 0:00 /usr/sbin/httpd
apache 28015 0.0 0.6 18652 1672 ? S Dec12 0:00 /usr/sbin/httpd
apache 28016 0.0 0.6 18652 1672 ? S Dec12 0:00 /usr/sbin/httpd
apache 28017 0.0 0.6 18652 1668 ? S Dec12 0:00 /usr/sbin/httpd
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform