[Libguestfs] [PATCH] tar-in: Add workaround because tar doesn't restore capabilities (RHBZ#1384241).

Pino Toscano ptoscano at redhat.com
Mon Oct 17 15:21:28 UTC 2016


On Thursday, 13 October 2016 12:47:43 CEST Richard W.M. Jones wrote:
> Current GNU tar does not restore all extended attributes.  In
> particular only user.* capabilities are restored (although all
> are saved in the tarball).
> 
> To restore capabilities, SELinux security attributes, and other things
> we need to use --xattrs-include=*
> 
> For further information on the tar bug, see:
> https://bugzilla.redhat.com/show_bug.cgi?id=771927
> ---

Pity tar cannot handle properly this kind of metadata...

LGTM.

Thanks,
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20161017/2412061d/attachment.sig>


More information about the Libguestfs mailing list