[reproducible-website] 01/01: Replace root with 0
Chris Lamb
chris at chris-lamb.co.uk
Wed Mar 1 05:19:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository reproducible-website.
commit ac786164d30109cf6b096fd7b7a3611b52dbc583
Author: anonmos1 <60fpsn+3ywbufem17xog at guerrillamailblock.com>
Date: Tue Feb 28 18:12:35 2017 +0000
Replace root with 0
---
_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>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reproducible-website.git
More information about the Reproducible-commits
mailing list