sandcastle-ng

Scripts for the deployment of Sandcastle (GNU Taler)
Log | Files | Refs | README

commit 7a2ce95d1b74a2c5c20b6f71c3deafbba12fc029
parent b3cde8e0c1f5c6ee138629c44aa4813feba7c29e
Author: Florian Dold <florian@dold.me>
Date:   Tue,  3 Sep 2024 22:18:16 +0200

adjust permissions

Diffstat:
Mscripts/demo/setup-sandcastle.sh | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/scripts/demo/setup-sandcastle.sh b/scripts/demo/setup-sandcastle.sh @@ -133,6 +133,15 @@ lift_dir /etc/taler etc-challenger lift_dir /var/lib/postgresql var-lib-postgresql persist_exchange_key /var/lib/taler/exchange-offline exchange-offline +# We need to adjust permissions, as the container might have different user and group +# IDs than the volume. That can happen when the packages in the container are installed +# in a different order. + +chown taler-exchange-offline:taler-exchange-offline /talerdata_persistent/exchange-offline +chown --recursive taler-exchange-offline:taler-exchange-offline /var/lib/exchange-offline/* + +# FIXME: More permissions to adjust! + # Usage: get_credential_pw COMPONENT/ACCOUNT function get_credential_pw() { if [[ ${USE_INSECURE_SANDBOX_PASSWORDS:-0} = 1 ]]; then