taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 869f8fded1b380db99eb3472d9702b59cefcead9
parent 0c3c16512aa67508875d1647a1d673164583cc06
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Fri,  7 Jun 2019 15:59:51 +0200

Permissions.

Spread shared-data/ permissions settings through all the
involved scripts.

Diffstat:
Mbin/taler-deployment-config-generate | 4++++
Mbin/taler-deployment-keyup | 2+-
Mbuildbot/sign.sh | 2+-
3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/bin/taler-deployment-config-generate b/bin/taler-deployment-config-generate @@ -25,12 +25,16 @@ fi if [[ ! -f $HOME/shared-data/exchange/offline-keys/master.priv ]] ; then mkdir -p $HOME/shared-data/exchange/offline-keys/ + chmod g+rx $HOME/shared-data/exchange/offline-keys/ cp $base/deployment/private-keys/${TALER_CONFIG_ENV}-exchange-master.priv $HOME/shared-data/exchange/offline-keys/master.priv + chmod g+rx $HOME/shared-data/exchange/offline-keys/master.priv fi if [[ ! -f $HOME/shared-data/auditor/offline-keys/auditor.priv ]] ; then mkdir -p $HOME/shared-data/auditor/offline-keys/ + chmod g+rx $HOME/shared-data/auditor/offline-keys/ cp $base/deployment/private-keys/auditor.priv $HOME/shared-data/auditor/offline-keys/auditor.priv + chmod g+rx $HOME/shared-data/auditor/offline-keys/auditor.priv fi exchange_pub=$(gnunet-ecc -p $HOME/shared-data/exchange/offline-keys/master.priv) diff --git a/bin/taler-deployment-keyup b/bin/taler-deployment-keyup @@ -40,4 +40,4 @@ fi # with 'true' is needed as when the other party will # execute this it will fail to chmod, but the permissions # are already right. -chmod -R g+rwx ${HOME}/shared-data/* || true +chmod -R g+rx ${HOME}/shared-data/exchange/live-keys/ || true diff --git a/buildbot/sign.sh b/buildbot/sign.sh @@ -12,5 +12,5 @@ rm -f $WIRE_RESPONSE || true taler-exchange-wire -chmod g+rw $WIRE_RESPONSE +chmod g+rx $WIRE_RESPONSE chgrp test $WIRE_RESPONSE