aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorArun Isaac2022-03-19 22:58:26 +0530
committerArun Isaac2022-03-19 23:01:12 +0530
commit0e7d98e4aa699e5e92de0864b0eb57a2d787c8c7 (patch)
tree40b81b3b8d57980a1a9a073776997c53ff6de396 /guix
parentc3cf5fc22a1a0cb1e46869d4dfbeed0fa1e27f53 (diff)
downloadguix-forge-0e7d98e4aa699e5e92de0864b0eb57a2d787c8c7.tar.gz
guix-forge-0e7d98e4aa699e5e92de0864b0eb57a2d787c8c7.tar.lz
guix-forge-0e7d98e4aa699e5e92de0864b0eb57a2d787c8c7.zip
forge: Change ownership of parent directory of website directory.
* guix/forge/forge.scm (forge-activation): Change ownership of parent directory of website directory, instead of changing the ownership of the website directory itself. * doc/forge.skb (Reference)[<forge-project>]: Document it.
Diffstat (limited to 'guix')
-rw-r--r--guix/forge/forge.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/forge/forge.scm b/guix/forge/forge.scm
index f8acc80..29825c7 100644
--- a/guix/forge/forge.scm
+++ b/guix/forge/forge.scm
@@ -146,7 +146,8 @@
;; Set ownership of website directory.
(when website-directory
(let ((user (getpw "laminar")))
- (chown website-directory (passwd:uid user) (passwd:gid user))))))
+ (chown (dirname website-directory)
+ (passwd:uid user) (passwd:gid user))))))
'#$projects))))
(define (import-module? name)