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: chmod.


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: chmod.
Date: Sat, 08 Jun 2019 19:19:05 +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 48a6b11  chmod.
48a6b11 is described below

commit 48a6b115dca6b3b7dba6aa9d0024d4009be85189
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Jun 8 19:18:34 2019 +0200

    chmod.
    
    shared-data/ itself must be already prepared before
    the hier-making script is called.
---
 bin/taler-deployment-shared-data | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/taler-deployment-shared-data b/bin/taler-deployment-shared-data
index bbbdf6c..a9480e8 100755
--- a/bin/taler-deployment-shared-data
+++ b/bin/taler-deployment-shared-data
@@ -15,7 +15,7 @@ fi
 
 SHARED_DATA=$(taler-config -s paths -o taler_deployment_shared -f)
 
-# Check shared-data/ exists & has write permissions for group.
+# Check shared-data/ exists
 if ! test -e $SHARED_DATA; then
   echo "Please bootstrap your setup first (run 'bootstrap-bluegreen' script?)."
   exit 1
@@ -27,6 +27,7 @@ if ls -L -1 $SHARED_DATA | grep -q [a-zA-Z]; then
   exit 0
 fi
 
+# Check if it's writeable.
 if ! test -w $SHARED_DATA; then
   echo "Can't write under $SHARED_DATA, please ajdust permissions"
   exit 0
@@ -40,8 +41,6 @@ if ! echo $SHARED_DATA_GROUP | grep -q "^$TALER_CONFIG_ENV$"; 
then
   exit 1
 fi
 
-chmod g+s $SHARED_DATA
-
 # Double-check if setgid was set.
 if stat -L --format "%a" $SHARED_DATA | grep -q -v "^[2367][0-9][0-9][0-9]$"; 
then
   echo "Please make sure $SHARED_DATA has setgid asserted"

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



reply via email to

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