Created attachment 136415 [details] [review]
add "--owner root:0 --group root:0" options to tar command in dist target
Because git-archive always uses root:root in the generated tarball,
the source tarballs (since 0.60.0) have 2 uid/gids in it.
"root:root" by git-archive, and normal users/group by normal tar.
For detail, please find the analysis at::
Here is a trivial patch adding "--owner root:0 --group root:0" to the
dist target of cmake.
Also I've written a patch for git-archive. If the maintainer wants
to postpone the decision after seeing how git maintainers deals with,
please do so.
Thanks. I've proposed to add "--owner" like options to git,
but the response was not so positive.
An alternative solution to include untracked files to the archive was proposed.
It seems that the implementation and distribution would take some time,
so I highly appreciate the application of my temporal patch specific.