aboutsummaryrefslogtreecommitdiff
path: root/guix/forge
diff options
context:
space:
mode:
authorArun Isaac2023-12-19 16:56:26 +0000
committerArun Isaac2023-12-19 16:56:26 +0000
commitb92b5d7651209ec5849c30ae23337887dfbb7808 (patch)
tree9adecdc97537741b7b95aa60ee8d5b5e626c2186 /guix/forge
parent20dc05124c97bf7b0e9f188d13a94cd98ec03d8a (diff)
downloadguix-forge-b92b5d7651209ec5849c30ae23337887dfbb7808.tar.gz
guix-forge-b92b5d7651209ec5849c30ae23337887dfbb7808.tar.lz
guix-forge-b92b5d7651209ec5849c30ae23337887dfbb7808.zip
tissue: Explain permissions set on the tissue state directory.
* guix/forge/tissue.scm (tissue-activation): Explains permissions set on the tissue state directory.
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))