Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2002 21:30:02 -0800 (PST)
From:      Mike Heffner <mheffner@vt.edu>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/35087: TAR does not recurse directories if it runs into 
Message-ID:  <200203110530.g2B5U2V70367@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

The following reply was made to PR bin/35087; it has been noted by GNATS.

From: Mike Heffner <mheffner@vt.edu>
To: Giorgos Keramidas <keramida@FreeBSD.ORG>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/35087: TAR does not recurse directories if it runs into 
Date: Mon, 11 Mar 2002 00:24:03 -0500 (EST)

 On 24-Feb-2002 Giorgos Keramidas wrote:
 |  
 |  Are you sure this is not some bug of shell quoting, or the way you
 | invoke
 |  tar(1)?  It seems to work nicely here, for the filename you gave as an
 |  example.  Perhaps there is a problem, and if you provided us with the
 | exact
 |  script and/or program that invokes tar(1) we could research this more
 |:)
 |  
 
 
 It's reproduciable only when the filenames are specified individually or
 with a filelist (see PR gnu/34939). The following is from a 4.5-STABLE
 machine last cvsup'd Feb. 28:
 
 $ pwd
 /tmp
 $ mkdir test
 $ cd test
 $ touch foo
 $ touch "foo\bar"
 $ touch foobar
 $ ls -l
 total 0
 -rw-------  1 mheffner  wheel  0 Mar 11 00:18 foo
 -rw-------  1 mheffner  wheel  0 Mar 11 00:18 foo\bar
 -rw-------  1 mheffner  wheel  0 Mar 11 00:18 foobar
 $ cd ..
 $ tar cvf test.tar test/*
 test/foo
 tar: can't add file test/foar : No such file or directory
 test/foobar
 
 
 I haven't had a chance to test this on -current yet.
 
 Mike
 
 -- 
   Mike Heffner   <mheffner@[acm.]vt.edu>
   Blacksburg, VA     <mikeh@FreeBSD.org>
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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