[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] xattr support on Linux
From: |
Joerg Schilling |
Subject: |
Re: [Bug-tar] xattr support on Linux |
Date: |
Thu, 4 Oct 2012 17:45:43 +0200 |
User-agent: |
nail 11.22 3/20/05 |
Tim Kientzle <address@hidden> wrote:
>
> On Oct 3, 2012, at 5:01 AM, Pavel Raiskup wrote:
>
> >> FWIW, both star and bsdtar support xattrs on Linux.
> >>
> >> It would be nice if GNU tar were compatible with those existing
> >> implementations.
> >
> > Thanks Tim, yes -- xattr-patched GNU tar would be unable to extract
> > extended attributes from archives created by BSD tar now. In BSD tar
> > pax headers you are using base64 encoding for xattr values *but* in
> > different namespace --> so it will be very easy to allow GNU tar unpack
> > also BSD tar archives. I missed that fact and I'll address that later.
>
> Thanks!
>
> bsdtar also URL encodes the xattr name when building the pax property
> name. This ensures the final key will be entirely ASCII (and hence will
> not cause any problems with readers that expect all keys to be valid UTF-8).
>
> I can point you to the code in libarchive that handles this if you want
> a detailed reference. (The code is BSD-licensed; you're welcome
> to copy it if you wish.)
Mmm, is bsdtar incompatible to star?
Do you have a documentation for your format?
Jörg
--
EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
address@hidden (uni)
address@hidden (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
- [Bug-tar] xattr support on Linux, Bdale Garbee, 2012/10/01
- Re: [Bug-tar] xattr support on Linux, Paul Eggert, 2012/10/02
- Re: [Bug-tar] xattr support on Linux, Pavel Raiskup, 2012/10/02
- Re: [Bug-tar] xattr support on Linux, Tim Kientzle, 2012/10/03
- Re: [Bug-tar] xattr support on Linux, Pavel Raiskup, 2012/10/03
- Re: [Bug-tar] xattr support on Linux, Tim Kientzle, 2012/10/03
- Re: [Bug-tar] xattr support on Linux,
Joerg Schilling <=
- Re: [Bug-tar] xattr support on Linux, Tim Kientzle, 2012/10/05
- Re: [Bug-tar] xattr support on Linux, Joerg Schilling, 2012/10/05
- Re: [Bug-tar] xattr support on Linux, Joerg Schilling, 2012/10/05
- Re: [Bug-tar] xattr support on Linux, Tim Kientzle, 2012/10/06
- Re: [Bug-tar] xattr support on Linux, Pavel Raiskup, 2012/10/10
- Re: [Bug-tar] xattr support on Linux, Joerg Schilling, 2012/10/10
- Re: [Bug-tar] xattr support on Linux, Pavel Raiskup, 2012/10/10
- Re: [Bug-tar] xattr support on Linux, Joerg Schilling, 2012/10/10
- Re: [Bug-tar] xattr support on Linux, Joerg Schilling, 2012/10/04
- Re: [Bug-tar] xattr support on Linux, Joerg Schilling, 2012/10/04