gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-deployment] branch master updated: Permissions.


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: Permissions.
Date: Fri, 07 Jun 2019 16:00:38 +0200

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

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 869f8fd  Permissions.
869f8fd is described below

commit 869f8fded1b380db99eb3472d9702b59cefcead9
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jun 7 15:59:51 2019 +0200

    Permissions.
    
    Spread shared-data/ permissions settings through all the
    involved scripts.
---
 bin/taler-deployment-config-generate | 4 ++++
 bin/taler-deployment-keyup           | 2 +-
 buildbot/sign.sh                     | 2 +-
 3 files changed, 6 insertions(+), 2 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)
diff --git a/bin/taler-deployment-keyup b/bin/taler-deployment-keyup
index 6f3064d..0b23170 100755
--- 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
index d16dce2..e35241a 100755
--- 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

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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