From bba1e4a97535c72a3c9eb651491c07a9a81c9733 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 24 Mar 2025 08:52:23 +0100 Subject: [PATCH] Fix. --- testing/scripts/setup_secrets.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/scripts/setup_secrets.sh b/testing/scripts/setup_secrets.sh index de5af39..3c31ceb 100755 --- a/testing/scripts/setup_secrets.sh +++ b/testing/scripts/setup_secrets.sh @@ -55,5 +55,7 @@ chown -R "${USERNAME}:${USERNAME}" "${PATH_SECRETS}" export BORG_PASSPHRASE="${PASSPHRASE}" PATH_TMP_SCRIPTS="$(path_tmp_timestamped configscripts)" +mkdir "${PATH_TMP_SCRIPTS}" cp -a ./* "${PATH_TMP_SCRIPTS}/" +chown -R "${USERNAME}:${USERNAME}" "${PATH_TMP_SCRIPTS}" su -l "${USERNAME}" --whitelist-environment=PATH_SECRETS,BORG_PASSPHRASE -c "/bin/sh "${PATH_TMP_SCRIPTS}/_setup_secrets_user.sh" -- 2.30.2