From fdb7ed6fd020b58e64e885ddb498f4afbfc00386 Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Thu, 13 May 2021 21:32:37 +0200 Subject: [PATCH] Fixed permissions on backup folder --- src/open3a/install-service.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/open3a/install-service.sh b/src/open3a/install-service.sh index 6ab26fc..a46d05c 100644 --- a/src/open3a/install-service.sh +++ b/src/open3a/install-service.sh @@ -43,6 +43,7 @@ unzip open3a.zip rm open3a.zip chmod 666 system/DBData/Installation.pfdb.php chmod -R 777 specifics/ +chmod -R 777 system/Backups echo "sudo -u www-data /usr/bin/php /var/www/html/plugins/Installation/backup.php; for backup in $(ls -r1 /var/www/html/system/Backup/*.gz | /bin/grep -v $(date +%Y%m%d)); do /bin/rm $backup;done" > /etc/cron.daily/open3a-backup chmod +x /etc/cron.daily/open3a-backup