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: perms


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: perms
Date: Sat, 08 Jun 2019 14:03:49 +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 b299472  perms
b299472 is described below

commit b299472f133ee60d9573afbbe49ae3c141abca0a
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Jun 8 14:03:41 2019 +0200

    perms
---
 buildbot/make_auditor_reports.sh | 5 +++--
 buildbot/sign.sh                 | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/buildbot/make_auditor_reports.sh b/buildbot/make_auditor_reports.sh
index 8c45d6e..4e4d321 100755
--- a/buildbot/make_auditor_reports.sh
+++ b/buildbot/make_auditor_reports.sh
@@ -8,7 +8,6 @@ DATE=$(date +%Y-%m-%d)
 REPORT_FILE_NOEXT=${HOME}/audit_report.${DATE}
 WIRE_REPORT_FILE_NOEXT=${HOME}/wire_audit_report.${DATE}
 JINJA_TEMPLATE="auditor-report.tex.j2"
-REPORTS_DIRECTORY="${HOME}/shared-data/auditor/reports"
 
 source ${HOME}/activate
 
@@ -17,6 +16,8 @@ if test -a ${REPORTS_DIRECTORY}/$(basename 
"${REPORT_FILE_NOEXT}.pdf"); then
   exit 0
 fi
 
+REPORTS_DIRECTORY="$(taler-config -s auditor -o reports -f)"
+
 taler-auditor-exchange \
   -c ${HOME}/.config/taler.conf \
   -m $(taler-config -s exchange -o master_public_key) \
@@ -61,7 +62,7 @@ if echo $(whoami) | grep demo; then
 fi
 
 chgrp ${GROUP} "${REPORT_FILE_NOEXT}.pdf"
-chmod g+r "${REPORT_FILE_NOEXT}.pdf"
+chmod 040 "${REPORT_FILE_NOEXT}.pdf"
 
 mv "${REPORT_FILE_NOEXT}.pdf" "${REPORTS_DIRECTORY}"
 
diff --git a/buildbot/sign.sh b/buildbot/sign.sh
index e35241a..cf1cd51 100755
--- a/buildbot/sign.sh
+++ b/buildbot/sign.sh
@@ -8,9 +8,9 @@ fi
 source "${HOME}/activate"
 WIRE_RESPONSE=$(taler-config -s account-1 -o wire_response -f)
 
-rm -f $WIRE_RESPONSE || true
+rm -f $WIRE_RESPONSE
 
 taler-exchange-wire
 
-chmod g+rx $WIRE_RESPONSE
 chgrp test $WIRE_RESPONSE
+chmod 070 $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]