about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-08-20 10:10:44 -0500
committerFrederick Muriuki Muriithi2025-08-20 10:14:20 -0500
commitfc446290a7765d910e5428d8299b5bce5f6221ed (patch)
tree44c4637649596faf52424a75fb21904d49cd21be
parent66b067cbd4103dd0113ae37c11152c6f5397ff38 (diff)
downloadgn-machines-change-working-dirs-to-tmp.tar.gz
Pass in the UID and GID under which the pola wrapper should run. change-working-dirs-to-tmp
-rw-r--r--genenetwork-development.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index aee7211..56346ae 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -872,7 +872,9 @@ described by CONFIG, a <genenetwork-configuration> object."
                                                 (target source)
                                                 (writable? #t)))
                               #:namespaces (delq 'net %namespaces)
-                              #:directory "/var/runtimes/genenetwork3")
+                              #:directory "/var/runtimes/genenetwork3"
+                              #:guest-uid #~(passwd:uid (getpw "genenetwork"))
+                              #:guest-uid #~(passwd:gid (getpw "genenetwork")))
                            "127.0.0.1" #$(number->string gn3-port))
                      #:user "genenetwork"
                      #:group "genenetwork"