diff options
author | Franck Cuny <franck@fcuny.net> | 2022-05-28 18:48:29 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-05-28 18:49:04 -0700 |
commit | c84a40197c0b7fee47b2bee4151139af30e4495a (patch) | |
tree | 2a6aa875e1492018336a0a11b0f4dcea178fedbe /modules/services | |
parent | fix(cgit): define the list of repos prior to scan path (diff) | |
download | world-c84a40197c0b7fee47b2bee4151139af30e4495a.tar.gz |
fix(cgit): ensure permissions are set correctly
Change-Id: I65efa49a904ab1885bd72566e450b6678be6aa21 Reviewed-on: https://cl.fcuny.net/c/world/+/123 Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to '')
-rw-r--r-- | modules/services/cgit/default.nix | 2 |
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 ''; }; }; |