Correcting permissions in snapshot script.

This commit is contained in:
Daniel Baumann 2008-04-21 21:27:10 +02:00
parent d236758c6b
commit f44e2ef79f
1 changed files with 4 additions and 0 deletions

View File

@ -175,4 +175,8 @@ EOF
# Removing build directory # Removing build directory
rm -rf "${TEMPDIR}" 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}" echo "$(date +%b\ %d\ %H:%M:%S) ${HOSTNAME} live-snapshots: end build." >> "${LOGFILE}"