summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-06-07 16:07:02 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-06-07 16:07:02 +0200
commit49de3a2f4ccabccfd99e46ef8e275660ebec5d97 (patch)
tree97e7d7e8e507b5fb80666184e7d8423a8380eebe /bin
parent869f8fded1b380db99eb3472d9702b59cefcead9 (diff)
downloaddeployment-49de3a2f4ccabccfd99e46ef8e275660ebec5d97.tar.gz
deployment-49de3a2f4ccabccfd99e46ef8e275660ebec5d97.tar.bz2
deployment-49de3a2f4ccabccfd99e46ef8e275660ebec5d97.zip
chgrp
Diffstat (limited to 'bin')
-rwxr-xr-xbin/taler-deployment-config-generate2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/taler-deployment-config-generate b/bin/taler-deployment-config-generate
index 75622d9..47d5ddb 100755
--- a/bin/taler-deployment-config-generate
+++ b/bin/taler-deployment-config-generate
@@ -27,6 +27,7 @@ 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
+ chgrp ${TALER_CONFIG_ENV} $HOME/shared-data/exchange/offline-keys/master.priv
chmod g+rx $HOME/shared-data/exchange/offline-keys/master.priv
fi
@@ -34,6 +35,7 @@ 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
+ chgrp ${TALER_CONFIG_ENV} $HOME/shared-data/auditor/offline-keys/auditor.priv
chmod g+rx $HOME/shared-data/auditor/offline-keys/auditor.priv
fi