aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-06-24 11:59:04 +0530
committerArun Isaac2022-06-24 11:59:04 +0530
commit073a754bfd4d2d2b3a6526245d26d676d61c987b (patch)
tree0cf792251cee6d99159501f632342ac5d49d9360
parentd86888a2da455a3fc6374cb3429a6a66352a3599 (diff)
downloadgn-machines-073a754bfd4d2d2b3a6526245d26d676d61c987b.tar.gz
Set ownership of database dump directories too, not just files.
* genenetwork-development.scm (operating-system)[services]: In the set-dump-genenetwork-database-export-directory-permissions service, set ownership of directories in %dump-genenetwork-database-export-directory too, not just the files.
-rw-r--r--genenetwork-development.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index c0ec4f5..00f8927 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -803,7 +803,8 @@ list of channel names for which a channels.scm should be published."
(chown file
(passwd:uid (getpw "laminar"))
(passwd:gid (getpw "laminar"))))
- (find-files #$%dump-genenetwork-database-export-directory)))))
+ (find-files #$%dump-genenetwork-database-export-directory
+ #:directories? #t)))))
(service nginx-service-type
(nginx-configuration
(server-blocks