diff --git a/scripts/restore b/scripts/restore index 963059b..6122364 100755 --- a/scripts/restore +++ b/scripts/restore @@ -17,7 +17,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:root "$install_dir" #================================================= # RESTORE SYSTEM CONFIGURATIONS diff --git a/scripts/upgrade b/scripts/upgrade index f2f91bb..a372401 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -32,7 +32,7 @@ then ynh_setup_source --dest_dir="$install_dir" fi -chown -R $app:www-data "$install_dir" +chown -R $app:root "$install_dir" chmod +x -R "$install_dir/conduit" #=================================================