Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it true? At least on my Ubuntu 12.x, the shipped GNU tar does not have the --xattrs option ...but why?? (and what are my alternatives, to backup files with xattr?)

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Yes, it lacks a tar with xattr support. Turns out, most archivers, zip, tar, etc lack support for these additional attributes and thus implementation of these is, at best, experimental - or unwanted by the main developers.

If you want to keep all your attribs, do a xattr -d ("a dump") on the dirtree you are archiving, generating a text file which can be read back in with the xattr/fattrib sets of commands. Just include this file in your archive then.

For now, there's no automated solution to do so. Poor ACL sysadmins...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.