You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Troels Arvin (JIRA)" <ji...@apache.org> on 2017/06/02 15:01:04 UTC

[jira] [Created] (SVN-4682) FAQ needs update regarding SELinux

Troels Arvin created SVN-4682:
---------------------------------

             Summary: FAQ needs update regarding SELinux
                 Key: SVN-4682
                 URL: https://issues.apache.org/jira/browse/SVN-4682
             Project: Subversion
          Issue Type: Bug
          Components: docs_www
            Reporter: Troels Arvin
            Priority: Trivial


In the "How do I set repository permissions correctly?" section of https://subversion.apache.org/faq.html, it states the following for Fedora Core 3:
chcon -R -h -t httpd_sys_content_t PATH_TO_REPOSITORY

That is no longer sufficient. For Red Hat Enterprise Linux 7 and equivalent servers, it seems the following needs to be done:

​semanage fcontext -a -t httpd_sys_rw_content_t "/PATH/TO/repos/.*"
restorecon -R /PATH/TO/repos




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)