Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-20-2007, 02:01 PM   #1
Registered: Nov 2006
Posts: 188

Rep: Reputation: 30
Bugzilla permissions issue HHEEELLPP!

I have been working on installing Bugzilla for days now and their mailing list is for s*?!

I have narrowed down my problem to what looks like a permission issue. So this may not be a Bugzilla problem but an Apache configuration problem.

I have installed Bugzilla on a Fedora Core machine and SELinux has been disabled.

Here is my setup:

My bugzilla directory is on a Linux Fedora Core machine in the /var/www/bugzilla-2.22.2 directory.

The apache web service (httpd) is running as the user “apache” under the group “apache”

The $webservergroup variable in the localconfig file in the bugzilla directory is “apache”

The permissions on my bugziaal-2.22.2 directory as will as all the files within the directory are owned by root and have apache group permissions.

The permission on the bugzilla-2.22.2 directory is drwxrwxr-x 13 root apache 4096 Mar 20 08:37 bugzilla-2.22.2/

My DirectoryRoot and Directory Block in the httpd.conf is the following:

DocumentRoot "/var/www/bugzilla-2.22.2

<Directory "/var/www/bugzilla-2.22.2">

        Options +FollowSymLinks

        AddHandler cgi-script   .cgi
        Options +Indexes +ExecCGI
        DirectoryIndex index.cgi
        AllowOverride Limit

I run from the bugzilla-2.22.2 directory and my results look good. Here are the last few lines of my output:
Checking user setup ...
Removing existing compiled templates ...
Precompiling templates ...
Checking for      DBD::mysql (v2.9003) ok: found v4.003
Checking for           MySQL (v4.0.14) ok: found v5.0.22-log

Populating duplicates table...
Now that you have installed Bugzilla, you should visit the 
'Parameters' page (linked in the footer of the Administrator 
account) to ensure it is set up as you wish - this includes 
setting the 'urlbase' option to the correct url.
I then run the within the Bugzilla directory and I receive this:

[root@BriansFC bugzilla-2.22.2]# ./ http://localhost
TEST-OK Webserver is running under group id in $webservergroup.
TEST-FAILED Fetch of skins/standard/index/front.png failed
Your webserver could not fetch http://localhost/skins/standard/index/front.png.
Check your webserver configuration and try again.
[root@BriansFC bugzilla-2.22.2]#
I checked the permission in the (Document Root)/skins/standard/index/front.png and everything looks like it should be accessible by anyone in the apache group (Which is what my Webserver is running as)

root     18576     1  0 08:47 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
apache   18602 18576  0 08:50 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
apache   18603 18576  0 08:50 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
apache   18604 18576  0 08:50 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
apache   18605 18576  0 08:50 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
apache   18606 18576  0 08:50 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
apache   18621 18576  0 08:52 ?        00:00:00 /usr/local/apache2/bin/httpd -k restart
root     18791 18534  0 09:26 pts/1    00:00:00 grep httpd
The bugzilla-2.22.2 and all subdirectories underneath have read and executable rights for the apache group. All cgi files in the bugzilla -2.22.2 directory have read and executable rights. The file front.png has read rights from the apache group.

I check my error logs “/usr/local/apache2/logs/error_log and this is what I have:
[Tue Mar 20 09:14:55 2007] [error] [client] client denied by server configuration: /var/www/bugzilla
I type in the IP address of my server and I have the message:

You don't have permission to access / on this server.
This looks to me like a permission issue, but everything looks like it should have access to these files. The Webserver is running as user apache, which is a member of the group apache. The bugzilla directory have group user apache rights as well as the files within that directory.

Can anyone offer any insight into this? I would be eternally grateful!

Last edited by tekmann33; 03-20-2007 at 02:02 PM.
Old 04-03-2007, 06:58 AM   #2
LQ Newbie
Registered: Feb 2007
Location: China, Shanghai
Posts: 1

Rep: Reputation: 0
Unhappy I meet the same problem too

I meet the same problem too, is there have some suggestions?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't su (permissions issue) WeNdeL Linux - General 3 12-05-2005 11:48 AM
Permissions issue? thoffland Debian 8 07-06-2005 03:17 PM
permissions issue with X gvaught Debian 3 01-02-2005 01:07 PM
Group Permissions issue EnigmaX Linux - General 9 06-13-2004 01:44 AM
Folder Permissions Issue Aman9090 Slackware 2 10-18-2003 12:03 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration