diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-04-30 05:06:58 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-05-01 03:02:58 +0300 |
commit | f34354c336614bc74df41381dafda6cea90642cc (patch) | |
tree | 8688f54a710657e25d4a820098c32913f0c54568 /bin/ncp | |
parent | 01cd4215a530aeff3a62e3a38f07d4cc734cb1bb (diff) |
ncp-web: add backups panelv1.12.0
Diffstat (limited to 'bin/ncp')
-rw-r--r-- | bin/ncp/BACKUPS/nc-backup.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ncp/BACKUPS/nc-backup.sh b/bin/ncp/BACKUPS/nc-backup.sh index 03c49566..b4cb457b 100644 --- a/bin/ncp/BACKUPS/nc-backup.sh +++ b/bin/ncp/BACKUPS/nc-backup.sh @@ -100,7 +100,8 @@ tar $compress_arg -cf "$destfile" \ exit 1 } rm "$dbbackup" -chmod 600 "$destfile" +chmod 640 "$destfile" +chown :www-data "$destfile" echo "backup $destfile generated" EOF |