Bug 621215

Summary: tar does not dump/restore xattrs required by Samba4
Product: [Fedora] Fedora Reporter: jussinredbugz
Component: tarAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: kdudka, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tar-1.23-5.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-16 13:38:51 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:

Description jussinredbugz 2010-08-04 14:37:53 UTC
Description of problem:

After restoring the security.NTACL attributes are missing. Samba4 uses these attributes to store Windows ACLs.

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

tar-1.22-12.fc12.x86_64

How reproducible: Always

Steps to Reproduce:
1. touch test.txt
2. setfattr -n security.NTACL -v test test.txt
3. tar cvf /tmp/foo.tar --xattrs .
4. tar xvf /tmp/foo.tar --xattrs
5. getfattr -d -m - test.txt
  
Actual results:
# file: test.txt
security.selinux="unconfined_u:object_r:default_t:s0


Expected results:
# file: test.txt
security.NTACL="test"
security.selinux="unconfined_u:object_r:default_t:s0

Comment 1 Ondrej Vasik 2010-08-16 13:38:51 UTC
Support for storing security.NTACL xattrs added in tar-1.23-5.fc15 ... closing RAWHIDE.