diff --git a/scripts/restore b/scripts/restore index 4b7faac..e8826d3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -77,7 +77,6 @@ ynh_script_progression --message="Restoring user rights..." # Restore permissions on app files chown -R $app:$app $final_path -chown -R $app:$app $app_data_dir #================================================= # SPECIFIC RESTORATION @@ -112,6 +111,8 @@ ynh_script_progression --message="Restoring the data directory..." ynh_restore_file --origin_path="$app_data_dir" +chown -R $app:$app $app_data_dir + #================================================= # INSTALL YUNOHOST MULTIMEDIA #=================================================