Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 22:35:21 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: bsdtar errors storing uid/gids > 16777214
Message-ID:  <414A7799.5000501@freebsd.org>
In-Reply-To: <20040917040950.GA52634@dan.emsphone.com>
References:  <20040917040950.GA52634@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?414A7799.5000501>