[rb-general] Creating reproducible tar files

anonmous at sigaint.org anonmous at sigaint.org
Tue Jan 24 07:39:30 CET 2017


The only downside with this option is that tar files still differ when the
executable bit is modified. But I can't think of a better solution. Maybe
this should be documented when/if added to the reproducible-builds.org
archive page

related:
https://lists.alioth.debian.org/pipermail/reproducible-commits/Week-of-Mon-20150202/001662.html

in any case there needs to be a section for this

> On 2017-01-23, anonmous at sigaint.org wrote:
>> While at it, this page currently lacks a recommendation for setting
>> permissions in tar archives.
>>
>> From this page:
>> https://wiki.debian.org/ReproducibleBuilds/VaryingPermissionsInTarballs
>>
>> I am not familiar with these: --mode=go=rX,u+rw,a-s
>
> The tar man page is rather unhelpful here, but I think it uses the same
> syntax as chmod, which has a bit better explanation of the "symbolic"
> mode.
>
> Using the above as an example:
>
> g=group
> o=owner
> u=user
> a=all
> r=read
> X=eXecute(?)
> w=write
> s=sticky bit(?)
> = set to exactly
> + add
> - subtract
>
>
>> What do they mean? What are the benefits compared to using
>> --mode=644 or --mode=755?
>
> I personally find the letters in symbolic modes to be an easier
> mneumonic than magic octal number representation...
>
>
> live well,
>   vagrant
> _______________________________________________
> rb-general at lists.reproducible-builds.org mailing list
>
> To change your subscription options, visit
> https://lists.reproducible-builds.org/listinfo/rb-general.
>
> To unsubscribe, send an email to
> rb-general-unsubscribe at lists.reproducible-builds.org.





More information about the rb-general mailing list