gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-sandcastle-ng] branch master updated: adjust permissions


From: gnunet
Subject: [taler-sandcastle-ng] branch master updated: adjust permissions
Date: Tue, 03 Sep 2024 22:18:19 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository sandcastle-ng.

The following commit(s) were added to refs/heads/master by this push:
     new 7a2ce95  adjust permissions
7a2ce95 is described below

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

    adjust permissions
---
 scripts/demo/setup-sandcastle.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/scripts/demo/setup-sandcastle.sh b/scripts/demo/setup-sandcastle.sh
index fd10368..4660e2a 100755
--- 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]