summaryrefslogtreecommitdiff
path: root/bin/taler-deployment-config-generate
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-06-07 15:59:51 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-06-07 15:59:51 +0200
commit869f8fded1b380db99eb3472d9702b59cefcead9 (patch)
treec0438a1a9c358362083e12e29da3bd8df9568c48 /bin/taler-deployment-config-generate
parent0c3c16512aa67508875d1647a1d673164583cc06 (diff)
downloaddeployment-869f8fded1b380db99eb3472d9702b59cefcead9.tar.gz
deployment-869f8fded1b380db99eb3472d9702b59cefcead9.tar.bz2
deployment-869f8fded1b380db99eb3472d9702b59cefcead9.zip
Permissions.
Spread shared-data/ permissions settings through all the involved scripts.
Diffstat (limited to 'bin/taler-deployment-config-generate')
-rwxr-xr-xbin/taler-deployment-config-generate4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/taler-deployment-config-generate b/bin/taler-deployment-config-generate
index 640ef6c..75622d9 100755
--- 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)