aboutsummaryrefslogtreecommitdiff
path: root/src/property/installer.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-11-01 15:17:00 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-11-01 15:17:00 -0700
commit2c9bf3e94369e6576ea576eaa82970a8128a59f5 (patch)
treeb13204a1b16c115d3f365fa57a1a842789efe22e /src/property/installer.lisp
parent05164a19652f9b0e7ed70f7030235b048dc4dad7 (diff)
downloadconsfigurator-2c9bf3e94369e6576ea576eaa82970a8128a59f5.tar.gz
:SETUID: pass target uid to POSIX-LOGIN-ENVIRONMENT for correct PATH
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/installer.lisp')
-rw-r--r--src/property/installer.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/property/installer.lisp b/src/property/installer.lisp
index a41112f..5c37ba3 100644
--- a/src/property/installer.lisp
+++ b/src/property/installer.lisp
@@ -275,7 +275,7 @@ using a combinator like ON-CHANGE, or applied manually with DEPLOY-THESE."
(get-connattr :remote-home) "/root"
(get-connattr :XDG_CACHE_HOME) #P"/root/.cache/"
(get-connattr :consfigurator-cache) #P"/root/.cache/consfigurator/")
- (posix-login-environment "root" "/root")
+ (posix-login-environment 0 "root" "/root")
;; Remount (mainly virtual) filesystems that other properties we will
;; apply might require (esp. relevant for installing bootloaders).