bsdtar errors storing uid/gids > 16777214
Tim Kientzle
kientzle at freebsd.org
Thu Sep 16 22:35:28 PDT 2004
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
More information about the freebsd-current
mailing list