public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@google.com>
To: tytso@mit.edu
Cc: fstests@vger.kernel.org, Eric Biggers <ebiggers@google.com>
Subject: [PATCH] xfstests-bld: correct file permissions in xfstests.tar.gz
Date: Fri, 18 Nov 2016 13:25:50 -0800	[thread overview]
Message-ID: <1479504350-123472-1-git-send-email-ebiggers@google.com> (raw)

The bug with --update-files also affected --update-xfstests-tar.

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 gen-tarball | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gen-tarball b/gen-tarball
index daa6d4f..2626996 100755
--- a/gen-tarball
+++ b/gen-tarball
@@ -50,4 +50,5 @@ cp bld/lib/client.txt xfstests/lib
 echo "STRIP xfstests/*"
 find xfstests -mindepth 2 -type f -perm /0111 | xargs $STRIP 2> /dev/null
 echo "TAR xfstests"
-tar cf - xfstests | $GZIP -9 > xfstests.tar.gz
+tar c --owner=root --group=root --mode=o+g-w xfstests | \
+	$GZIP -9 > xfstests.tar.gz
-- 
2.8.0.rc3.226.g39d4020


             reply	other threads:[~2016-11-18 21:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-18 21:25 Eric Biggers [this message]
2016-12-08  3:18 ` [PATCH] xfstests-bld: correct file permissions in xfstests.tar.gz Theodore Ts'o

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1479504350-123472-1-git-send-email-ebiggers@google.com \
    --to=ebiggers@google.com \
    --cc=fstests@vger.kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox