bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Fail of the test owner.at


From: Paul Eggert
Subject: Re: [Bug-tar] Fail of the test owner.at
Date: Wed, 27 Jun 2012 09:57:41 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

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

>From 66402620af6a2c53ce7097a3b433d0f70284ec60 Mon Sep 17 00:00:00 2001
From: Paul Eggert <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]