diff --git a/scripts/restore b/scripts/restore index c778d29..4547709 100644 --- a/scripts/restore +++ b/scripts/restore @@ -27,6 +27,9 @@ ynh_script_progression --message="Restoring the data directory..." --weight=1 ynh_restore_file --origin_path="$data_dir" --not_mandatory +chmod -R o-rwx "$data_dir" +chown -R $app:www-data "$data_dir" + #================================================= # RESTORE SYSTEM CONFIGURATIONS #=================================================