diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-02-09 14:21:41 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-02-09 14:22:07 +0300 |
commit | 3b458f35de413d88674ccf6627adc2bd119f89f8 (patch) | |
tree | 412aa10b3fc326842a4679ab05717cf6f7d093bd /etc/nextcloudpi-config.d | |
parent | 9ed6228e5174c2d752d4a2c1ab2050cd681b0ea0 (diff) |
nc-backup: stronger permissions for backup filev0.46.5
Diffstat (limited to 'etc/nextcloudpi-config.d')
-rw-r--r-- | etc/nextcloudpi-config.d/nc-backup.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/nextcloudpi-config.d/nc-backup.sh b/etc/nextcloudpi-config.d/nc-backup.sh index 8a8f42f5..0a1c1a3a 100644 --- a/etc/nextcloudpi-config.d/nc-backup.sh +++ b/etc/nextcloudpi-config.d/nc-backup.sh @@ -95,6 +95,7 @@ rm "$DBBACKUP" rm "$DESTFILE" DESTFILE="${DESTFILE}.gz" } +chmod 600 "$DESTFILE" echo "backup $DESTFILE generated" EOF |