Edgewall Software

Changes between Version 58 and Version 59 of TracOnFedoraCore


Ignore:
Timestamp:
Mar 2, 2007, 6:29:49 PM (17 years ago)
Author:
shap <shap.nospam@…>
Comment:

More info on SELinux configuration issues

Legend:

Unmodified
Added
Removed
Modified
  • TracOnFedoraCore

    v58 v59  
    8585 $ sudo chcon -R -t httpd_sys_content_t /srv/svn
    8686}}}
     87
     88If you put these under {{{/srv/www/trac}}} and {{{/srv/www/svn}}} instead, the {{{restorecon}}} command will know that these attributes should be preserved. Alternatively, you can teach {{{restorecon}}} about these two directories by adding the lines:
     89
     90{{{
     91 /var/trac(/.*)?    system_u:object_r:httpd_sys_content_t
     92 /var/svn(/.*)?     system_u:object_r:httpd_sys_content_t
     93}}}
     94
     95to the file {{{/etc/selinux/targeted/contexts/files/filecontexts.local}}}. You may need to create this file if it is not already present.