diff --git a/scripts/restore b/scripts/restore index dd2557c..fe198ef 100755 --- a/scripts/restore +++ b/scripts/restore @@ -14,6 +14,8 @@ ynh_script_progression "Restoring the app main directory..." ynh_restore "$install_dir" +chown -R "$app:www-data" "$install_dir" + #================================================= # RESTORE THE DATA DIRECTORY #=================================================