diff options
-rwxr-xr-x | examples/cron/snapshots.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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}" |