diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-01-14 09:51:16 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-01-14 09:51:16 +0100 |
commit | 38a87de2d6d1f71530c8590d2ae9db5d142f8e6f (patch) | |
tree | ffbf646a660c70cdcaf58a8f3351544eb3a1228e /izumi.org | |
parent | 78c6048843fbea0158290aecc878366ef70c4fc8 (diff) |
Allow cgit to see gitolite repositories
The gitolite service is implemented in such a way, that only the git group can
access the gitolite home directory. This blocks cgit from accessing the
repositories subfolder.
The simple addition of the executable bit on the /var/lib/gitolite directory
allows the access to the desired subfolder without actually exposing any other
contents of the gitolite home directory.
Additionaly a reminder to upstream this change is emitted on each system
reconfiguration.
Diffstat (limited to 'izumi.org')
-rw-r--r-- | izumi.org | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -843,7 +843,11 @@ (string-append "sudo guix system reconfigure " configuration-prefix - "system-configuration.scm ")) + "system-configuration.scm " + and + "sudo chmod 751 /var/lib/gitolite " + and + "echo 'WARNING: Upstream the correct permission bits to gitolite.'")) (update-system (string-append pull-guix |