From c84a40197c0b7fee47b2bee4151139af30e4495a Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 28 May 2022 18:48:29 -0700 Subject: fix(cgit): ensure permissions are set correctly Change-Id: I65efa49a904ab1885bd72566e450b6678be6aa21 Reviewed-on: https://cl.fcuny.net/c/world/+/123 Reviewed-by: Franck Cuny --- modules/services/cgit/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules') 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 ''; }; }; -- cgit 1.4.1