summaryrefslogtreecommitdiff
path: root/examples/cron/snapshots.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-04-21 21:27:10 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:33 +0100
commitfb6e50b18b4a00b842b3ae1633ca24a1ddb71ad0 (patch)
tree4a990d1cb99c66b4e260d2028cf1cb3b5dc7f92a /examples/cron/snapshots.sh
parenta6a95bd6322e289fa420d0dcb282bcab3d64ea08 (diff)
downloadvyos-live-build-fb6e50b18b4a00b842b3ae1633ca24a1ddb71ad0.tar.gz
vyos-live-build-fb6e50b18b4a00b842b3ae1633ca24a1ddb71ad0.zip
Correcting permissions in snapshot script.
Diffstat (limited to 'examples/cron/snapshots.sh')
-rwxr-xr-xexamples/cron/snapshots.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/cron/snapshots.sh b/examples/cron/snapshots.sh
index ad9bb7f1d..07ea241b5 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}"