From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 16 05:54:36 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D626C16A4DE for ; Sun, 16 Jul 2006 05:54:36 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2E7643D49 for ; Sun, 16 Jul 2006 05:54:35 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from [10.0.0.221] (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id k6G5sYjU005337; Sat, 15 Jul 2006 22:54:35 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <44B9D49A.6080401@freebsd.org> Date: Sat, 15 Jul 2006 22:54:34 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steven Hartland References: <031501c6a225$27797a00$b3db87d4@multiplay.co.uk> In-Reply-To: <031501c6a225$27797a00$b3db87d4@multiplay.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: BSD tar broken file name parsing X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jul 2006 05:54:36 -0000 File a bug and I'll take a look at it. Bonus if you can check this on -CURRENT; I have fixed a bunch of problems in -CURRENT that aren't yet merged into 6.x but I can't remember right now if this is one of them. Ti Steven Hartland wrote: > Just had a really strange one, on a fresh 6.1 install > tar will not extract named files e.g. > tar -xvzPf my.tar.gz /usr/local/etc/apache/httpd.conf > > The above fails to extract the file which quite > clearly exists: > tar -tvzPf my.tar.gz | grep /usr/local/etc/httpd.conf > -rw-r--r-- 0 root wheel 37202 May 6 23:30 > /usr/local/etc/apache/httpd.conf > > Similarly -tvzPf naming the file doesnt find the file. > > Using wild cards finds the file: > tar -tvzPf my.tar.gz '*httpd.conf' > -rw-r--r-- 0 root wheel 37202 May 6 23:30 > /usr/local/etc/apache/httpd.conf > > I suspect its -P processing that is broken. Installing > gtar and using that works fine: > gtar -xvzPf my.tar.gz /usr/local/etc/apache/httpd.conf > /usr/local/etc/apache/httpd.conf > > gtar -tvzPf my.tar.gz /usr/local/etc/apache/httpd.conf > -rw-r--r-- root/wheel 37202 2006-05-06 23:30:58 > /usr/local/etc/apache/httpd.conf > > Steve > > > ================================================ > This e.mail is private and confidential between Multiplay (UK) Ltd. and > the person or entity to whom it is addressed. In the event of > misdirection, the recipient is prohibited from using, copying, printing > or otherwise disseminating it or any information contained in it. > In the event of misdirection, illegible or incomplete transmission > please telephone +44 845 868 1337 > or return the E.mail to postmaster@multiplay.co.uk. > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >