Changes between Version 58 and Version 59 of TracOnFedoraCore
- Timestamp:
- Mar 2, 2007, 6:29:49 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnFedoraCore
v58 v59 85 85 $ sudo chcon -R -t httpd_sys_content_t /srv/svn 86 86 }}} 87 88 If 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 95 to the file {{{/etc/selinux/targeted/contexts/files/filecontexts.local}}}. You may need to create this file if it is not already present.