diff --git a/scripts/upgrade b/scripts/upgrade index 522c6c8..acddc60 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -89,6 +89,7 @@ fi chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" +chown -R $app:www-data "$data_dir" #================================================= # UPGRADE DEPENDENCIES