[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ownership issue when repacking source in get-orig-source target

On Fri, 2012-01-13 at 22:07 +0100, Andreas Tille wrote:
> I was concerned about an issue Charles Plessy reported in a recent
> thread on Debian Med when he realised that the directories in the
> unpacked tarball are featuring his UID/GID.  I simply looked into the
> uscan source how it is be done there and found:
>    GZIP=-9 tar --owner=root --group=root --mode=a+rX -czf <target_tarball> <source_dir>
> I think this is also to weak because gzip seems to have the behaviour to
> not always create byte identical results without the option --no-name

fwiw, all of the calls to gzip in uscan from devscripts 2.11.3 use
"-n" (i.e. --no-name).  That's only just changed for zip re-packing but
has been used for bz2 re-packing since 2009.



Reply to: