diff --git a/scripts/restore b/scripts/restore index 4485c5a..f16e5a3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -16,7 +16,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" -chown -R $app:www-data "$install_dir" +chown -R $app:$app "$install_dir" #================================================= # RESTORE THE MYSQL DATABASE