helpers2.1: also run _ynh_apply_default_permissions in ynh_restore to be consistent (also because the user uid on the new system may be different than in the archive etc)

This commit is contained in:
Alexandre Aubin 2024-06-29 21:32:53 +02:00
parent eaf00103dd
commit eee84c5f66

View file

@ -179,6 +179,8 @@ ynh_restore() {
else else
mv "$archive_path" "${target}" mv "$archive_path" "${target}"
fi fi
_ynh_apply_default_permissions "$target"
} }
# Restore all files that were previously backuped in an app backup script # Restore all files that were previously backuped in an app backup script