RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 587923 - RFE: tar doesn't have a way to display saved xattrs
Summary: RFE: tar doesn't have a way to display saved xattrs
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: tar
Version: 6.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Pavel Raiskup
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
: 714990 (view as bug list)
Depends On:
Blocks: 1159824
TreeView+ depends on / blocked
 
Reported: 2010-05-01 15:29 UTC by Ted X Toth
Modified: 2016-07-25 08:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-25 08:04:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ted X Toth 2010-05-01 15:29:46 UTC
Description of problem:
When tar file is created with --xattrs subsequent `tar tv` doesn't show the SELinux context and ACLs save with the file.

Version-Release number of selected component (if applicable):
tar-1.22.13

How reproducible:
very


Steps to Reproduce:
1. tar some files with --xattrs option then run tar tvf on the tar file and see
that the SELinux context and ACLs aren't displayed.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 RHEL Program Management 2010-05-01 17:13:12 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Ondrej Vasik 2010-05-03 07:59:19 UTC
Thanks for report. However - I think showing those xattrs/acls/selinux contexts (which are not shown at the moment) by default with -tv option would cause much more confusion than not showing them at all. Actually - upstream tar doesn't store them at all - so first step about this xattrs/acl/selinux patch is to get it accepted by upstream. Then (maybe) "--xattrs -tv" could show those extended attributes/acls/selinux contexts of the files in the archive.
I'm marking that feature request as FutureFeature and will consider it later - definitely not by default...

Comment 5 Suzanne Logcher 2011-01-06 22:19:52 UTC
This request was evaluated by Red Hat Product Management for 
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated 
in the current release, Red Hat is unfortunately unable to  
address this request at this time.  This request has been 
proposed for the next release of Red Hat Enterprise Linux.
If you would like it considered as an exception in the 
current release, please ask your support representative.

Comment 6 Ondrej Vasik 2011-06-21 20:20:56 UTC
*** Bug 714990 has been marked as a duplicate of this bug. ***

Comment 7 RHEL Program Management 2011-07-05 23:43:50 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 14 Pavel Raiskup 2012-09-27 07:23:27 UTC
Just to refresh status of this bug.  I proposed new xattrs patch to upstream
tar (with no response yet):

  http://lists.gnu.org/archive/html/bug-tar/2012-08/msg00012.html

If you want to try this feature, you may use tar from Fedora Rawhide:

  https://koji.fedoraproject.org/koji/buildinfo?buildID=349824

Note that (1) listing feature is just a concept and it should be ACKed by
upstream first and (2) fedora-rawhide has whole "new" xattr patch including tar
tar's API change - only the listing-related part of patch would be applicable
for RHEL-6.

Thanks,
Pavel

Comment 15 RHEL Program Management 2013-10-14 01:20:49 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 16 Pavel Raiskup 2016-07-25 08:04:27 UTC
It is too late for feature requests in RHEL6 (production phase 2) so I'm
closing.  Feel free to try "tar -tvv --xattrs-include='*'"  on RHEL7.


Note You need to log in before you can comment on or make changes to this bug.