about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/services/cgit/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/services/cgit/default.nix b/modules/services/cgit/default.nix
index a310e14..1c07049 100644
--- a/modules/services/cgit/default.nix
+++ b/modules/services/cgit/default.nix
@@ -62,6 +62,8 @@ in {
             echo "''${repo}.git" >> $tmplist
           done
           mv $tmplist /var/lib/cgit/cache/projects.list
+          # TODO(fcuny): this should run as the git user
+          chown git:git /var/lib/cgit/cache/projects.list
         '';
       };
     };