From owner-freebsd-current@FreeBSD.ORG Fri Sep 17 05:35:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD1E916A4CE for ; Fri, 17 Sep 2004 05:35:28 +0000 (GMT) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 434AE43D2F for ; Fri, 17 Sep 2004 05:35:28 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from freebsd.org (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i8H5ZL90049836; Thu, 16 Sep 2004 22:35:22 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <414A7799.5000501@freebsd.org> Date: Thu, 16 Sep 2004 22:35:21 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Nelson References: <20040917040950.GA52634@dan.emsphone.com> In-Reply-To: <20040917040950.GA52634@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: bsdtar errors storing uid/gids > 16777214 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2004 05:35:28 -0000 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