[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Suprising behavior of extract with --xattrs
From: |
Brian Murray |
Subject: |
[Bug-tar] Suprising behavior of extract with --xattrs |
Date: |
Mon, 3 Jun 2019 13:27:12 -0700 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
When enabling extended attribute support in a tar file (--xattrs) all
extended attributes are stored in the archive, however when the same archive
is extracted only the user.* extended attributes are extracted. To have all
the extended attributes read and applied on extraction one must also use the
'--xattrs-include=*' option. I find this behavior surprising and especially so
given that the documentation indicates that "By default, when `--xattr' is
used, all names are stored in the archive (or extracted, if using
`--extract')"[1].
I'm happy to help working on resolving this issue but it isn't clear to me
whether the program or the documentation is incorrect. I've read some of this
mailing list's archive but didn't find an explanation as to why restoration of
only 'user.*' extended attributes would not be a bug[2].
[1] https://www.gnu.org/software/tar/manual/tar.html#SEC70
[2] Which I reported here https://savannah.gnu.org/bugs/index.php?56421
Thanks,
--
Brian Murray
- [Bug-tar] Suprising behavior of extract with --xattrs,
Brian Murray <=
Re: [Bug-tar] Suprising behavior of extract with --xattrs, Ian Bentley, 2019/06/12