Edgewall Software

Changes between Version 32 and Version 33 of TracOnRhel4


Ignore:
Timestamp:
Jan 18, 2007, 6:51:25 PM (17 years ago)
Author:
anonymous
Comment:

How to fix the annoying 'trac requires read _and_ write permission' error (when permissions are correct)

Legend:

Unmodified
Added
Removed
Modified
  • TracOnRhel4

    v32 v33  
    127127}}}
    128128
     129If you are getting a permission denied error saying that trac requires read _and_ write access to the project database file, you might have an SELinux environment. If SELinux is enabled, then you will have to run the following command as root.
     130{{{
     131 $ chcon -R system_u:object_r:httpd_sys_script_rw_t /opt/trac
     132 $ chcon -R system_u:object_r:httpd_sys_script_rw_t /opt/subversion/repos
     133}}}
     134
     135
     136
    129137You will need to restart apache after editing trac.conf:
    130138{{{