Bug 621215 - tar does not dump/restore xattrs required by Samba4
tar does not dump/restore xattrs required by Samba4
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: tar (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Ondrej Vasik
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-04 10:37 EDT by jussinredbugz
Modified: 2010-08-16 09:38 EDT (History)
2 users (show)

See Also:
Fixed In Version: tar-1.23-5.fc15
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-08-16 09:38:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description jussinredbugz 2010-08-04 10:37:53 EDT
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 09:38:51 EDT
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.