Don't make backup files executable

This commit is contained in:
Johannes Zellner
2017-04-20 15:41:25 +02:00
parent 6a5b0c194f
commit d9a0bf457d
2 changed files with 32 additions and 16 deletions

View File

@@ -101,6 +101,10 @@ mkdir -p "${BOX_DATA_DIR}/appicons"
mkdir -p "${BOX_DATA_DIR}/certs"
mkdir -p "${BOX_DATA_DIR}/acme" # acme keys
# ensure backups folder exists and is writeable
mkdir -p /var/backups
chmod 777 /var/backups
echo "==> Check for old btrfs volumes"
if mountpoint -q "${OLD_DATA_DIR}"; then
echo "==> Cleanup btrfs volumes"