Package: tar
Version: 1.30+dfsg-5
Severity: normal

Hi.

The tar info page says:
'--xattrs'
     Enable extended attributes support.  When used with '--create',
     this option instructs GNU 'tar' to store extended file attribute in
     the created archive.  This implies POSIX.1-2001 archive format
     ('--format=pax').

     When used with '--extract', this option tells 'tar', for each file
     extracted, to read stored attributes from the archive and to apply
     them to the file.

'--no-xattrs'
     Disable extended attributes support.  This is the default.

   Attribute names are strings prefixed by a "namespace" name and a dot.
Currently, four namespaces exist: 'user', 'trusted', 'security' and
'system'.  By default, when '--xattr' is used, all names are stored in
the archive (or extracted, if using '--extract').  This can be
controlled using the following options:



But unlike described, when just --xattr is used, NOT all xattrs seem to
be set upon extracted members, at least any file capabilities get lost.

One needs to add e.g. "--xattrs-include=*" to get them extracted as well.

They do seem to be stored in the archive even if "--xattrs-include=*"
wasn't used, just as described above in the documentation.


I guess either tar's behaviour need to be fixed or the documentation.


Cheers,
Chris.

PS: Obviously I did all that as root ;-)

Reply via email to