Re-build the uploaded tarballs with consistent #374
Description
<img src="https://avatars.githubusercontent.com/u/1343914?v=3" align="left" width="96" height="96"hspace="10"> Issue by sgjesse
Originally opened as dart-lang/sdk#22596
The tarballs uploaded are normally packaged by pub, but in principle other clients can upload as well. These tarballs have whatever owner-information and permission-information that the original files had on the users machine when the tarball is build.
Normally un-taring when getting packages will set owner to current user/group and permissions to current umask, as --no-same-owner and --no-same-permissions are default when running tar as a normal user.
However it still seems a bit odd to store tarballs with owner and permission information coming from the client machine.
One option could be to re-package the tarball with consistent user and permission information.