taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 48a6b115dca6b3b7dba6aa9d0024d4009be85189
parent ad3c848214396a7f8cf9f24a3751629eace636dd
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Sat,  8 Jun 2019 19:18:34 +0200

chmod.

shared-data/ itself must be already prepared before
the hier-making script is called.

Diffstat:
Mbin/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 @@ -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"