summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-04-21 21:27:10 +0200
committerDaniel Baumann <daniel@debian.org>2008-04-21 21:27:10 +0200
commitf44e2ef79f94eb41e476ead165d87ff1b1f8c940 (patch)
tree4a990d1cb99c66b4e260d2028cf1cb3b5dc7f92a
parentd236758c6b218077586566cc2409f545fe29f26e (diff)
downloadvyos-live-build-f44e2ef79f94eb41e476ead165d87ff1b1f8c940.tar.gz
vyos-live-build-f44e2ef79f94eb41e476ead165d87ff1b1f8c940.zip
Correcting permissions in snapshot script.
-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}"