]> Dogcows Code - chaz/tar/commitdiff
tests: fix permissions-assumption bug in test
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 27 Jun 2012 16:56:03 +0000 (09:56 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 27 Jun 2012 16:56:31 +0000 (09:56 -0700)
* tests/owner.at: Don't assume umask is 022.
Reported by Pavel Raiskup in
<http://lists.gnu.org/archive/html/bug-tar/2012-06/msg00015.html>.

tests/owner.at

index 799bd43d8220811da24571ae7e4476be72114d01..e2ccc327d3e64a28a2ca06d0b2b3f746a651ea07 100644 (file)
@@ -31,6 +31,7 @@ genfile --file a
 tar --owner="Joe the Plumber:1234" \
     --group="Plumber's Union:5678" \
     --mtime='@0' \
+    --mode='u=rw,go=r' \
     -cf arc a
 
 tar -tvf arc
This page took 0.025373 seconds and 4 git commands to generate.