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, 08 Jun 2018 18:08:34 +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 7a50895  Permissions.
7a50895 is described below

commit 7a508957848e1f6cb4c2b1d74f844caaa4cdff88
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jun 8 18:07:08 2018 +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.
---
 bin/taler-deployment-keyup | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/taler-deployment-keyup b/bin/taler-deployment-keyup
index b497f78..e91c2b0 100755
--- 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

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



reply via email to

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