Restore with numeric uid or with username

Just to be sure: are you doing your check with ls while restore is still running?

I just asked because I think I saw that behaviour one time while restoring. Looked to me as if restic first restores the files itself and then at the end applies metadata and permissions / ownerships.