'man tar' says:
-p, --preserve-permissions, --same-permissions
extract information about file permissions (default for superuser)
(...)
--same-owner
try extracting files with the same ownership as exists in the
archive (default for superuser)
Using 'sudo tar', you should therefore be fine.
