summaryrefslogtreecommitdiffstats
path: root/README.SELinux
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2014-07-07 23:24:37 +0200
committerPavel Raiskup <praiskup@redhat.com>2014-07-08 10:34:34 +0200
commita9267ec22bb0b1d6917696f3c2451e98fa72bb37 (patch)
tree41db4a356af29f4c6f5dd1d12d6764eab4ab63c9 /README.SELinux
parentf017a6c30af36a5c155db379c5e51d09c5625937 (diff)
downloadcgit_EL6-a9267ec22bb0b1d6917696f3c2451e98fa72bb37.tar.gz
docs: install README.SELinux again
Instruct user to set the same fcontext as is set to /var/www/git on particular distribution. Related: #1036123 Version: 0.10.2-2
Diffstat (limited to 'README.SELinux')
-rw-r--r--README.SELinux5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.SELinux b/README.SELinux
index 95c690c..1f63c62 100644
--- a/README.SELinux
+++ b/README.SELinux
@@ -11,11 +11,10 @@ handled automatically for repositories in the default path, /var/lib/git. If
your repositories are in a different path, /srv/git, for example, you can set
the proper context using semanage:
- # semanage fcontext -a -t httpd_sys_content_t "/srv/git(/.*)?"
+ # semanage fcontext -a -t @CGIT_CONTEXT@ "/srv/git(/.*)?"
If you have other confined daemons that need to access the git repositories,
-you may want to use public_content_t, or public_content_rw_t instead of
-httpd_sys_content_t.
+you may want to use public_content_t, or public_content_rw_t instead.
Then use restorecon to update the contexts: