bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] RE: HP-UX tar -> GNU tar: Archive value -56720837941 is out of


From: Alexander.Farber
Subject: [Bug-tar] RE: HP-UX tar -> GNU tar: Archive value -56720837941 is out of uid_t range 0..4294967295
Date: Fri, 29 Aug 2003 19:59:35 +0200

Thanks for your reply Paul, I'll try to answer next week.

I'm already attaching the "broken" tar file. Please don't
forward/publish it anywhere.

Have a nice weekend
Alex

PS: Here is the error message for the attached file:
boccm04:afarber {116} tar xvfzC /home/afarber/mididata.tgz /tmp |& head
tar: Archive contains obsolescent base-64 headers
tar: Archive value -56720837941 is out of uid_t range 0..4294967295
0089.mid
tar: Archive value -56720837941 is out of uid_t range 0..4294967295
0092.mid
tar: Archive value -56720837941 is out of uid_t range 0..4294967295
0102.mid
tar: Archive value -56720837941 is out of uid_t range 0..4294967295
0105.mid
tar: Archive value -56720837941 is out of uid_t range 0..4294967295
boccm04:afarber {117} tar --version
tar (GNU tar) 1.13.19


> -----Original Message-----
> From: ext Paul Eggert [mailto:address@hidden
> Sent: Friday, August 29, 2003 7:37 PM
> To: Farber Alexander (NMP/Bochum)
> Cc: Becker Stefan (NMP/Salo); address@hidden
> Subject: Re: HP-UX tar -> GNU tar: Archive value -56720837941 
> is out of
> uid_t range 0..4294967295
> 
> 
> <address@hidden> writes:
> 
> > we get error messages like these:
> >
> > boclu21:afarber {60} tar xvfzC 
> /projects/scratch_r1011/usr/afarber/isa_sw-03_w31/product_conf
ig/upp_family/hdh12_52> _config/ppm/mididata.tgz /tmp
> > tar: Archive contains obsolescent base-64 headers
> > tar: Archive value -56720837941 is out of uid_t range 0..4294967295
> > 0089.mid
> >
> > when trying to unpack archives created by 
> > people with long UID's using the HP-UX tar.
> 
> Thanks for the bug report.  Do you get the same problem with tar
> 1.13.25?  <ftp://alpha.gnu.org/gnu/tar/tar-1.13.25.tar.gz>
> 
> Also, can you send a copy of such a tar file?  E.g., can you
> send the output of the following shell commands, run as root?
> 
>   touch foo
>   chown 2147483647 foo
>   tar cbf 1 tar foo
>   uuencode tar tar >output
> 
> Please substitute the maximal HP-UX UID for '2147483647'.
> 
> 
> > The error messages are printed regardless if 
> > we specify --no-same-owner --no-same-permissions
> > or not.
> 
> That is probably because GNU tar ignores the uid-decoding problem if
> it finds the user name.
> 
> > So when trying to unpack HP-UX tar archives 
> > your GNU tar switches to V7_FORMAT, correct?
> 
> Yes.
> 
> > Don't you think, that it would better to add
> > some check for --no-same-owner there?
> 
> It's probably not worth the trouble.  It'd be better to fix GNU tar to
> understand the HP-UX user-id encoding system.
> 

Attachment: mididata.tgz
Description: mididata.tgz


reply via email to

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