Bug 621215 - tar does not dump/restore xattrs required by Samba4
Summary: tar does not dump/restore xattrs required by Samba4
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: tar
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-04 14:37 UTC by jussinredbugz
Modified: 2010-08-16 13:38 UTC (History)
2 users (show)

Fixed In Version: tar-1.23-5.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-16 13:38:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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