2021-01-25 10:52:46 +00:00
|
|
|
From: Pavel Raiskup <praiskup@redhat.com>
|
2021-02-18 09:10:28 +00:00
|
|
|
Date: Tue, 16 Feb 2021 08:10:22 +0100
|
|
|
|
Subject: [PATCH] Related discussion in the Fedora pull-request:
|
|
|
|
https://src.fedoraproject.org/rpms/tar/pull-request/8
|
2021-01-25 10:52:46 +00:00
|
|
|
|
|
|
|
Upstream report:
|
|
|
|
https://www.mail-archive.com/bug-tar@gnu.org/msg05943.html
|
|
|
|
|
|
|
|
* tests/capabs_raw01.at: Newer systems (currently e.g. Fedora 34)
|
|
|
|
print getcap output in format CAP=VAL, not CAP+VAL.
|
|
|
|
---
|
2021-02-18 09:10:28 +00:00
|
|
|
tests/capabs_raw01.at | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
2021-01-25 10:52:46 +00:00
|
|
|
|
|
|
|
diff --git a/tests/capabs_raw01.at b/tests/capabs_raw01.at
|
2021-02-18 09:10:28 +00:00
|
|
|
index a1d9411..d3da923 100644
|
2021-01-25 10:52:46 +00:00
|
|
|
--- a/tests/capabs_raw01.at
|
|
|
|
+++ b/tests/capabs_raw01.at
|
2021-02-18 09:10:28 +00:00
|
|
|
@@ -45,10 +45,10 @@ rm -rf dir
|
2021-01-25 10:52:46 +00:00
|
|
|
tar --xattrs --xattrs-include='*' -xf archive.tar
|
|
|
|
|
2021-02-18 09:10:28 +00:00
|
|
|
# Newer systems print = instead of + here
|
|
|
|
-getcap dir/file | sed 's/+/=/'
|
2021-01-25 10:52:46 +00:00
|
|
|
+getcap dir/file | sed -e 's/+/=/' -e 's|dir/file = |dir/file |'
|
|
|
|
],
|
|
|
|
[0],
|
2021-02-18 09:10:28 +00:00
|
|
|
-[dir/file = cap_chown=ei
|
2021-01-25 10:52:46 +00:00
|
|
|
+[dir/file cap_chown=ei
|
|
|
|
])
|
|
|
|
|
|
|
|
AT_CLEANUP
|
|
|
|
--
|
2021-02-18 09:10:28 +00:00
|
|
|
2.26.0
|
2021-01-25 10:52:46 +00:00
|
|
|
|