aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2023-04-26 18:09:04 +0200
committerWojtek Kosior <koszko@koszko.org>2023-04-27 10:26:34 +0200
commit0e3913b509fd316d10a74dd4bf81bcc825f6dcba (patch)
treec55356d532d61f9eee6affe1438c90a935af1bd7
parent94e7362e370e4a1f51e15ea543fba5495a65d3de (diff)
downloadkoszko-org-server-0e3913b509fd316d10a74dd4bf81bcc825f6dcba.tar.gz
koszko-org-server-0e3913b509fd316d10a74dd4bf81bcc825f6dcba.zip
add gitolite user (no processes are run as this user but it is expected by CGI process when it tries to determine file permissions
-rw-r--r--container.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/container.scm b/container.scm
index c5a79dd..b31fcb0 100644
--- a/container.scm
+++ b/container.scm
@@ -431,6 +431,13 @@
(group "httpd")
(supplementary-groups '("gitolite3"))
(system? #t))
+ ;; the gitolite user must also have an id that matches the respective
+ ;; host user's one
+ (user-account
+ (name "gitolite3")
+ (group "gitolite3")
+ (uid 110)
+ (system? #t))
%base-user-accounts))
(file-systems (cons (file-system
(device (file-system-label "does-not-matter"))