From 5912e658cd9faf3998d93f147081d37f9b5e2f31 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 17 Dec 2014 07:50:02 +0000 Subject: [PATCH] Change redmatrix permissions after restore --- install-freedombone.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index bba8cd82..15fc5980 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -1419,6 +1419,7 @@ function create_restore_script { echo ' fi' >> /usr/bin/$RESTORE_SCRIPT_NAME echo ' rm -rf /root/tempredmatrix' >> /usr/bin/$RESTORE_SCRIPT_NAME echo " chmod 777 /var/www/$REDMATRIX_DOMAIN_NAME/htdocs/store/[data]/smarty3" >> /usr/bin/$RESTORE_SCRIPT_NAME + echo " chown -R www-data:www-data /var/www/$REDMATRIX_DOMAIN_NAME/htdocs/*" >> /usr/bin/$RESTORE_SCRIPT_NAME echo 'fi' >> /usr/bin/$RESTORE_SCRIPT_NAME echo '' >> /usr/bin/$RESTORE_SCRIPT_NAME fi