From fb6e50b18b4a00b842b3ae1633ca24a1ddb71ad0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 21 Apr 2008 21:27:10 +0200 Subject: Correcting permissions in snapshot script. --- examples/cron/snapshots.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/cron/snapshots.sh b/examples/cron/snapshots.sh index ad9bb7f..07ea241 100755 --- a/examples/cron/snapshots.sh +++ b/examples/cron/snapshots.sh @@ -175,4 +175,8 @@ EOF # Removing build directory rm -rf "${TEMPDIR}" +# Fixing permissions +chmod 0644 "${SERVER}"/* +chmod 0766 "${SERVER}"/*.sh + echo "$(date +%b\ %d\ %H:%M:%S) ${HOSTNAME} live-snapshots: end build." >> "${LOGFILE}" -- cgit v1.0