Subject: bin/17529: tar(1) has problems when unpacking long pathname
To: None <gnats-bugs@gnats.netbsd.org>
From: None <p@ppires.org>
List: netbsd-bugs
Date: 07/09/2002 01:42:12
>Number:         17529
>Category:       bin
>Synopsis:       tar(1) has problems when unpacking long pathname
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 08 21:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Paulo Alexandre Pinto Pires
>Release:        NetBSD 1.6B (-current as of 2002/07/02)
>Organization:
	
>Environment:
	% tar --version
	GNU tar version 1.11.2
	
System: NetBSD domine.ppires.org 1.6B NetBSD 1.6B (DOMINE-20020702) #0: Tue Jul 2 01:49:06 BRT 2002 pappires@mateus.ppires.org:/usr/src/sys/arch/i386/compile/DOMINE-20020702 i386
Architecture: i386
Machine: i386

>Description:
	While extracting data for a tar file using system-provided tar(1)
	utility, long pathnames (of about 100 characters and more) in the
	archive are not restored correctly.  Instead, either file names are
	truncated or files get written to wrong locations.

>How-To-Repeat:
	Extract data from any archive which contains long pathnames.

		% tar xpzvf j2sdk-1.3.1.tar.gz

>Fix:
	A workaround is to use pax or a different version of tar (a
	newer GNU tar?).
>Release-Note:
>Audit-Trail:
>Unformatted: