summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-09-15 20:40:35 +0530
committerArun Isaac2022-09-15 20:40:35 +0530
commit5df484324d3b8e9ee53fc92b7f9840eecab549df (patch)
treefd3e0bee6226c1423e94d30cbdf574a0e105cd60
parentf6beefdeacb8f1e67844142d73fc3e2de38db254 (diff)
downloadguix-forge-5df484324d3b8e9ee53fc92b7f9840eecab549df.tar.gz
guix-forge-5df484324d3b8e9ee53fc92b7f9840eecab549df.tar.lz
guix-forge-5df484324d3b8e9ee53fc92b7f9840eecab549df.zip
Revert "tissue: Set ownership of state directory recursively."
This reverts commit f6beefdeacb8f1e67844142d73fc3e2de38db254. The ownership of the state directory is set on a per-host basis. The state directory is not owned completely by the tissue user.
-rw-r--r--guix/forge/tissue.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/guix/forge/tissue.scm b/guix/forge/tissue.scm
index 81771c9..ab86a11 100644
--- a/guix/forge/tissue.scm
+++ b/guix/forge/tissue.scm
@@ -221,9 +221,7 @@ 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)
- (for-each (lambda (file)
- (chown file (passwd:uid user) (passwd:gid user)))
- (find-files #$state-directory #:directories? #t)))
+ (chown #$state-directory (passwd:uid user) (passwd:gid user)))
;; Create host directories if they don't exist, and set
;; permissions.
(for-each (match-lambda