bug-tar
[Top][All Lists]
Advanced

[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: Wed, 10 Oct 2012 12:42:32 +0200
User-agent: nail 11.22 3/20/05

Pavel Raiskup <address@hidden> wrote:

> > BTW: converting name/value pairs with unknown meaning into something
> > different (as UTF-8) may cause problems and is not needed as the meta
> > data in extended tar headers is binary clean due to it's length tag.
>
> Jorg, the problem is that the character '=' may really cause problems.
> Stored xtended keyword and value are binary clean but there is no
> unambiguous method how to restore xattr pax header when the keyword
> contains '=' character(s).
>
> Do you think that the solution here is suitable also for star?
>
>   http://lists.gnu.org/archive/html/bug-tar/2012-10/msg00025.html
>
> I definitely don't want to make any incompatibilities in that case between
> GNU tar and star -- but I think that this issue has to be solved somehow.
> Do you have a better idea?

AFAIK, the Linux xattr names are not living in the filesystem but inside files, 
so I would assume that there are other rules for them.

A related OS implementation should from my view disallow '=' inside a the name 
of a name=value pair, but if this conceptional problem is not fixable at the 
right location anymore, I would prefer to just encode '=' and '%'.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]