From e456f9bb52d2e88104bf47854fc35966233c7e41 Mon Sep 17 00:00:00 2001 From: gau1991 Date: Mon, 10 Nov 2014 19:43:19 +0530 Subject: [PATCH] Fix webroot permission --- src/modules/site/migrate/ee_mod_migrate_setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/site/migrate/ee_mod_migrate_setup.sh b/src/modules/site/migrate/ee_mod_migrate_setup.sh index 8de60e1c..bcbfe437 100644 --- a/src/modules/site/migrate/ee_mod_migrate_setup.sh +++ b/src/modules/site/migrate/ee_mod_migrate_setup.sh @@ -26,4 +26,8 @@ function ee_mod_migrate_setup() || ee_lib_error "Unable to import database, exit status = " $? fi + # Fix webroot permission + chown -R www-data:www-data /var/www/$EE_DOMAIN/ \ + || ee_lib_error "Unable to change webroot permission, exit status = " $? + }