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:30:20 +0200
User-agent: nail 11.22 3/20/05

Paul Eggert <address@hidden> wrote:

> On 10/08/2012 08:52 AM, Pavel Raiskup wrote:
> > we are not able to store/restore extended attributes containing '='
> > character in the keyword properly - same situation in star as our patch
> > uses the same approach.
>
> Can't we fix this by URL-encoding '=' and '%' when creating the tar file
> and URL-decoding when extracting?  It sounds easy, but it's not done
> by that patch, so what am I missing?

What is the problem?

It may be that my previous mail is wrong....

So is the problem that the extended TAR headers use a length field for the 
whole entry and the first occurrence of the character '=' is an indication for 
the start of the value?

Given that these xattrs are just name=value tags, shouldn't '=' be foibidden
in xattrs?

-       Are there really such tags?

-       The original implementaion was developed together with SuSE, so why was
        there no such problem for SuSE?

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]