[rb-general] Creating reproducible tar files

anonmous at sigaint.org anonmous at sigaint.org
Mon Feb 6 10:36:10 CET 2017


How is this one?

---
 _docs/archives.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/_docs/archives.md b/_docs/archives.md
index e6e26c5..28ea1f0 100644
--- a/_docs/archives.md
+++ b/_docs/archives.md
@@ -99,11 +99,11 @@ account name or its associated ids might be a source
of reproducibility
 issues.

 Tar offers a way to specify the user and group owning the file. Using
-`root`/`root` and `--numeric-owner` is a safe bet, as it will effectively
+`0`/`0` and `--numeric-owner` is a safe bet, as it will effectively
 record 0 as values:

 {% highlight sh %}
-$ tar --owner=root --group=root --numeric-owner -cf product.tar build
+$ tar --owner=0 --group=0 --numeric-owner -cf product.tar build
 {% endhighlight %}

 Full example
@@ -116,7 +116,7 @@ The recommended way to create a Tar archive is thus:
 # requires GNU Tar 1.28+
 $ tar --sort=name \
       --mtime="@${SOURCE_DATE_EPOCH}" \
-      --owner=root --group=root --numeric-owner \
+      --owner=0 --group=0 --numeric-owner \
       -cf product.tar build
 {% endhighlight %}
 </div>


> Hi,
>
> anonmous, thanks for your contributions to the documentation! Much
> appreciated :)
>
> On Mon, Jan 23, 2017 at 11:50:09PM -0000, anonmous at sigaint.org wrote:
>> Do I need to send a patch to update this page:
>> https://reproducible-builds.org/docs/archives/
>
> yes. Or you can also clone
> https://anonscm.debian.org/git/reproducible/reproducible-website.git/
> and provide git patches (or even commit+push if you are in the right
> alioth group.)
>
> We also had a mirror living at
> github.com/reproducible-builds/website.git but someone moved that, so I
> cannot find it, can someone please enlighten me?
>
>
> --
> cheers,
> 	Holger
> _______________________________________________
> 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