Re: bsdtar errors storing uid/gids > 16777214

From: Tim Kientzle <kientzle_at_freebsd.org>
Date: Thu, 16 Sep 2004 22:35:21 -0700
Dan Nelson wrote:
> It looks like bsdtar will create extended header entries for attributes
> that would overflow the regular file header, but for the gid and uid
> cases, it doesn't zero out the regular fields, and
> __archive_write_format_header_ustar() ends up failing.  This bit me
> when portupgrading kdebase, which installs kdesud with a group name of
> "nogroup", which is -2 (aka 4294967294) on my system.

Good catch!  I've just committed a revised
version of your patch (that more correctly handles a couple
of obscure bits of trivia).

Many thanks.

> Also, there's a formatting error in tar/read.c that ends up misaligning
> the date column.  %Y is 4 chars wide, but %R is 5, so the format string
> with %R in it needs to lose a space.

Yes, I've known about this one for a while,
but decided to put off this (and a few other
cosmetic fixes) until after 5.3.

Thanks!

Tim Kientzle
Received on Fri Sep 17 2004 - 03:35:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:12 UTC