aboutsummaryrefslogtreecommitdiff
path: root/guix/forge
diff options
context:
space:
mode:
Diffstat (limited to 'guix/forge')
-rw-r--r--guix/forge/tissue.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/guix/forge/tissue.scm b/guix/forge/tissue.scm
index f008686..4ece204 100644
--- a/guix/forge/tissue.scm
+++ b/guix/forge/tissue.scm
@@ -158,11 +158,13 @@
#~(let ((socket-directory #$(dirname (forge-unix-socket-path socket))))
(mkdir-p socket-directory)
(chown socket-directory (passwd:uid user) (passwd:gid user))))
- ;; Create state directory.
+ ;; Create state directory. The state directory is owned by
+ ;; the tissue user.
(mkdir-p #$state-directory)
(chown #$state-directory (passwd:uid user) (passwd:gid user)))
;; Create host directories if they don't exist, and set
- ;; permissions.
+ ;; permissions. Each host directory may be owned by its own
+ ;; user.
(for-each (match-lambda
((hostname username)
(let ((host-directory (string-append #$state-directory "/" hostname))