Commit 3f6c8067 authored by Valentin Reis's avatar Valentin Reis

Using _output instead of a temporary directory -> solves some nosuid issues

on some systems.

argo_nodeos__conf
parent 75ded3b0
Pipeline #4711 passed with stage
in 36 seconds
......@@ -77,10 +77,9 @@ prepareDaemonShell
prepareDaemonShell wd dargs daemon_out daemon_err nrm_log = do
mktree wd
cd wd
confPath <- myWhich "argo_nodeos_config"
myWhich "daemon"
tempDirPath <- mktempdir "/tmp" "argo-expe"
let confPath' = tempDirPath </> "argo_nodeos_config"
confPath <- myWhich "argo_nodeos_config"
let confPath' = "./argo_nodeos_config"
cp confPath confPath'
printInfo $ format ("Copied the configurator to " % fp % "\n") confPath'
printInfo $ format "Trying to sudo chown and chmod argo_nodeos_config\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment