From 5df484324d3b8e9ee53fc92b7f9840eecab549df Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 15 Sep 2022 20:40:35 +0530 Subject: 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. --- guix/forge/tissue.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'guix') 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 -- cgit v1.2.3