Skip to contentSkip to conversation

xfstests-bld: correct file permissions in xfstests.tar.gz

PATCH Applied Eric Biggers 2 participants 2 messages Nov 18, 2016 – Dec 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfstests-bld: correct file permissions in xfstests.tar.gz

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

---
 gen-tarball | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
gen-tarball +2 -1
index daa6d4f..2626996 100755
@@ -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
Signature · 1 line
2.8.0.rc3.226.g39d4020