mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-07-10 01:15:16 +02:00
Fixed permissions on backup folder
This commit is contained in:
parent
2f4a5a0de5
commit
fdb7ed6fd0
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue