diff --git a/scripts/restore b/scripts/restore index 023e726..1aea8c1 100755 --- a/scripts/restore +++ b/scripts/restore @@ -18,7 +18,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" chmod -R o-rwx "$install_dir" -chown -R root:$admin "$install_dir" +chown -R $app:www-data "$data_dir" #================================================= # RESTORE THE DATA DIRECTORY