diff --git a/scripts/upgrade b/scripts/upgrade index cfc329f..4747b2a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -194,6 +194,15 @@ ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app" +#================================================= +# TEST: SETUP PERMISSIONS (2nd time) +#================================================= + +chmod 750 "$final_path" +chmod -R o-rwx "$final_path" +chown -R $app:www-data "$final_path" +chmod -R 775 $final_path/storage + #================================================= # RELOAD NGINX #=================================================