aboutsummaryrefslogtreecommitdiff
path: root/guix/forge/tissue.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/forge/tissue.scm')
-rw-r--r--guix/forge/tissue.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/forge/tissue.scm b/guix/forge/tissue.scm
index ab86a11..81771c9 100644
--- a/guix/forge/tissue.scm
+++ b/guix/forge/tissue.scm
@@ -221,7 +221,9 @@ available both as a command-line program and as a web server.")
(chown socket-directory (passwd:uid user) (passwd:gid user))))
;; Create state directory.
(mkdir-p #$state-directory)
- (chown #$state-directory (passwd:uid user) (passwd:gid user)))
+ (for-each (lambda (file)
+ (chown file (passwd:uid user) (passwd:gid user)))
+ (find-files #$state-directory #:directories? #t)))
;; Create host directories if they don't exist, and set
;; permissions.
(for-each (match-lambda