bin/121158: Tar regression from 6.2 to 6.3 with --strip-components
Jan Mikkelsen
janm-freebsd-pr at transactionware.com
Wed Feb 27 21:20:01 UTC 2008
>Number: 121158
>Category: bin
>Synopsis: Tar regression from 6.2 to 6.3 with --strip-components
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 27 21:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Jan Mikkelsen
>Release: 6.3-RC2
>Organization:
Transactionware
>Environment:
FreeBSD midgard.transactionware.com 6.3-RC2 FreeBSD 6.3-RC2 #0: Fri Jan 11 10:55:31 EST 2008 root at midgard.transactionware.com:/scratch/janm/p4/image-freebsd-std-2008.1/work/base-freebsd/scratch/janm/p4/image-freebsd-std-2008.1/FreeBSD/src/sys/TW-SMP amd64
>Description:
I've just noticed a regression in tar from 6.2 to 6.3:
Running this on 6.2 produces no output:
#!/bin/sh
mkdir -p a b output
touch a/file1 b/file2
tar cf test.tar a b
tar -x -C output --strip-components 1 -f test.tar
On 6.3, it produces this output:
: Invalid empty pathname
: Invalid empty pathname
tar: Error exit delayed from previous errors.
And the tar extraction returns a failure.
>How-To-Repeat:
As above.
>Fix:
Not known at this stage.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list