Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (29 sloc) 1.42 KB
If you have SELinux installed, typically as part of Fedora Core 3 or
higher, then you may experience difficulties getting GBrowse to work.
The default security parameters for SELinux prevent GBrowse from
performing some fundamental tasks, including reading its configuration
file in $CONF/GBrowse.conf (where $CONF is typically /etc/httpd/conf
or /usr/local/apache/conf). The symptom of the problem is that you
will see "Permission denied" errors in your server error log.
To fix the problem:
1. Make sure your security policy is up to date:
% yum update selinux-policy-targeted
2. Open System Settings->Security Level and click on the SELinux tab.
Click on the HTTPD Service triangle to get the httpd settings, and
select "Disable SELinux protection for httpd daemon".
2a. Alternatively, uncheck "Enforcing" to set the enforcement level
to permissive.
2b. If you don't have X11, you can do the same as step 2 via the command line:
% setsebool -P httpd_disable_trans 1
% system httpd restart
3. Make sure that all directories in the path to the gbrowse config
directory are set to be world readable and executable. Either run:
% chmod +rx -R /etc/httpd/conf
% chmod +rx -R /usr/local/apache/conf
4. After you do this, add the --SELINUX=1 tag when exectuting perl Makefile.PL:
% perl Makefile.PL --SELINUX=1
Please let me know if you have any difficulties with this procedure.
Scott Cain