Bug 200925
Summary: | Tar doesn't support xattr's (including SELinux context) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | James Antill <james.antill> | ||||||
Component: | tar | Assignee: | Peter Vrabec <pvrabec> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Ben Levenson <benl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 5 | CC: | sgrubb | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-08-10 14:01:55 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 201088, 201916 | ||||||||
Attachments: |
|
Description of problem: GNUtar doesn't create archives with extended attributes in them, or create extended attributes for files from archives that have them. This problem is even worse due to the fact that ACL's and SELinux use xattr's Version-Release number of selected component (if applicable): tar-1.15.90-1.FC5 How reproducible: Always Additional info: I've now got a patch that adds --xattrs --selinux, and --no-xattrs --no-selinux allowing tar to create/extract archives that have user/root xattrs and selinux context xattrs. ACL xattr's aren't in it yet. It seems to work for me (tm). Note that no documentation is written for the above arguments, yet. The full srpms and i386 rpms are at (includes spec file changes, as well as patch): http://people.redhat.com/jantill/ Created attachment 133871 [details]
Final rawhide patch for xattrs+SELinux+ACL support
This is the final patch submitted to upstream. It includes ACL support,
documentation autoconf and a few other changes requested by upstream. Note that
this requires the LIB override hack to be removed from the spec file (works
fine if you just run the non-redhat code path).
patch applied tar-1.15.90-6 thx. James |
Created attachment 133416 [details] Just the patch for xattr support.