[PATCH] xfstests-bld: correct file permissions in xfstests.tar.gz

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



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

Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux