Explorar o código

tests: fix permissions-assumption bug in test

* 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>.
Paul Eggert %!s(int64=12) %!d(string=hai) anos
pai
achega
0708c153e4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tests/owner.at

+ 1 - 0
tests/owner.at

@@ -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