Thanks for the bug report.  I installed the following
slightly-different patch.

>From 66402620af6a2c53ce7097a3b433d0f70284ec60 Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Wed, 27 Jun 2012 09:56:03 -0700
Subject: [PATCH] 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>.
---
 tests/owner.at |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/owner.at b/tests/owner.at
index 799bd43..e2ccc32 100644
--- a/tests/owner.at
+++ b/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
-- 
1.7.6.5


Reply via email to