commit 49edf620956ce572d90c70939d276a042cbbf80f parent 4d5410f6930c88a447f4584d1229c47dc2be64b7 Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Thu, 27 Jun 2019 11:51:56 +0200 no care for group perms. Diffstat:
| M | bin/taler-deployment-hier | | | 9 | --------- |
1 file changed, 0 insertions(+), 9 deletions(-)
diff --git a/bin/taler-deployment-hier b/bin/taler-deployment-hier @@ -32,14 +32,6 @@ if ! test -w $TALER_DATA; then exit 0 fi -# Check if shared-data/ has the right group (test|demo), -# and set the SETGID permission if so. -TALER_DATA_GROUP=$(stat -L --format "%G" $TALER_DATA) -if ! echo $TALER_DATA_GROUP | grep -q "^$TALER_CONFIG_ENV$"; then - echo "$TALER_DATA has the wrong group ($TALER_DATA_GROUP), please fix." - exit 1 -fi - # Double-check if setgid was set. if stat -L --format "%a" $TALER_DATA | grep -q -v "^[2367][0-9][0-9][0-9]$"; then echo "Please make sure $TALER_DATA has setgid asserted" @@ -71,5 +63,4 @@ for dir in ${TALER_DIRS[@]}; do done # All dirs will give only the group RWX perms. -chmod -R 770 $TALER_DATA/* touch $TALER_DATA/hier.lock