summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-06-08 18:50:57 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-06-08 18:50:57 +0200
commitabcd8d11e4bd6487b44eb8b1bf9c40e458541adb (patch)
tree8467a61ca9c786af42d6446a85e3917c12b90796 /bin
parent8e6b5b032e2acc885b6c08992d8f7685ca62257d (diff)
downloaddeployment-abcd8d11e4bd6487b44eb8b1bf9c40e458541adb.tar.gz
deployment-abcd8d11e4bd6487b44eb8b1bf9c40e458541adb.tar.bz2
deployment-abcd8d11e4bd6487b44eb8b1bf9c40e458541adb.zip
perms
Diffstat (limited to 'bin')
-rwxr-xr-xbin/taler-deployment-shared-data4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/taler-deployment-shared-data b/bin/taler-deployment-shared-data
index 17061ae..23a1d1f 100755
--- a/bin/taler-deployment-shared-data
+++ b/bin/taler-deployment-shared-data
@@ -20,7 +20,7 @@ if ! test -e $SHARED_DATA; then
fi
# Check if shared-data/ has already a hierarchy.
-if find $SHARED_DATA -type d | grep -q [a-zA-Z]; then
+if find -H $SHARED_DATA -type d | grep -q [a-zA-Z]; then
echo "$SHARED_DATA not empty, exiting"
exit 0
fi
@@ -59,4 +59,4 @@ for dir in ${TALER_DIRS[@]}; do
done
# All dirs will give only the group RWX perms.
-chmod -R 070 $SHARED_DATA
+chmod -R 770 $SHARED_DATA