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 = " $? + }