diff options
author | Daniel Baumann <daniel@debian.org> | 2008-04-21 21:27:10 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:33 +0100 |
commit | fb6e50b18b4a00b842b3ae1633ca24a1ddb71ad0 (patch) | |
tree | 4a990d1cb99c66b4e260d2028cf1cb3b5dc7f92a /examples | |
parent | a6a95bd6322e289fa420d0dcb282bcab3d64ea08 (diff) | |
download | live-build-fb6e50b18b4a00b842b3ae1633ca24a1ddb71ad0.zip live-build-fb6e50b18b4a00b842b3ae1633ca24a1ddb71ad0.tar.gz |
Correcting permissions in snapshot script.
Diffstat (limited to 'examples')
-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}" |