commit 7a508957848e1f6cb4c2b1d74f844caaa4cdff88 parent 146aff1c9b1014577341361d7316c10647b11e5b Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Fri, 8 Jun 2018 18:07:08 +0200 Permissions. Tolerate failing chmod on the "shared-data" directory. This is safe as if party X fails in doing so, then party Y did already set permissions as wanted. Diffstat:
| M | bin/taler-deployment-keyup | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/bin/taler-deployment-keyup b/bin/taler-deployment-keyup @@ -32,4 +32,8 @@ if [[ -s $auditor_request_dir/auditor_request ]]; then -c ${HOME}/.config/taler.conf fi -chmod -fR g+rw ${HOME}/shared-data +# Make sure the creator sets those permissions; or-ing +# 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+rw ${HOME}/shared-data || true