bug#19615: make dist tarball contains owner/group information from the build system

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#19615: make dist tarball contains owner/group information from the build system

Dimitrios Apostolou
(Please CC me in the replies as I'm not subscribed)

Hello list,

examing the tarballs generated by "make dist" using "tar -tzvvf", it seems
that information about group/owner of the buildsystem is being leaked.
Example output - notice the jenkins/jenkins field:

# tar -tzvvf core/cfengine-3.7.0a1.5ffcc54.tar.gz   | head
drwxrwxr-x jenkins/jenkins   0 2015-01-16 02:54:12 cfengine-3.7.0a1.5ffcc54/
-rw-rw-r-- jenkins/jenkins 34036 2015-01-16 02:53:55 cfengine-3.7.0a1.5ffcc54/Makefile.in
-rwxrwxr-x jenkins/jenkins 658314 2015-01-16 02:53:51 cfengine-3.7.0a1.5ffcc54/configure
-rw-rw-r-- jenkins/jenkins   4973 2014-10-27 14:39:26 cfengine-3.7.0a1.5ffcc54/Makefile.am

My workaround is to add the following in Makefile.am:

TAR_OPTIONS = --owner=0 --group=0
export TAR_OPTIONS

I expected that something like this would be the default though.


Thanks,
Dimitris




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#19615: make dist tarball contains owner/group information from the build system

Pavel Roskin
My situation is even worse. My user ID is so large that "make dist"
fails for me:

tar: value 3186326 out of uid_t range 0..2097151
tar: Exiting with failure status due to previous errors
gtar: value 3186326 out of uid_t range 0..2097151
gtar: Exiting with failure status due to previous errors

The fix was promised back in year 2008. I hope we'll see it. In the
days of cloud computing, large user ID is an everyday reality.
http://comments.gmane.org/gmane.comp.sysutils.automake.bugs/4340

--
Regards,
Pavel Roskin



Loading...