Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


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.