diff options
author | Todd Zullinger <tmz@pobox.com> | 2021-06-07 01:41:23 -0400 |
---|---|---|
committer | Todd Zullinger <tmz@pobox.com> | 2022-01-01 23:45:33 -0500 |
commit | da736d6412c48c744637cfd2c9a63b7fa5646c97 (patch) | |
tree | a9bb1c5bc7cf451de6cc6c9761bd501e7adde15c /sources | |
parent | a2235531e1ac4f07954229e845700329dead34da (diff) | |
download | cgit_EL6-da736d6412c48c744637cfd2c9a63b7fa5646c97.tar.gz |
create /var/lib/git to improve SELinux compatibility
The README.SELinux file says that the default directory has its context
set automatically. This is only true it the cgit package installs the
directory. Creating it manually does not result in the proper SELinux
context being set.
Create and own the directory so that the context is set when the package
is installed.
This directory is shared with the git-daemon package. We share
ownership because cgit is frequently used without git-daemon --
particularly now that the smart http git protocol is widely deployed.
Diffstat (limited to 'sources')
0 files changed, 0 insertions, 0 deletions