Subject: bin/17529: tar(1) has problems when unpacking long pathname
To: None <>
From: None <>
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
>Originator:     Paulo Alexandre Pinto Pires
>Release:        NetBSD 1.6B (-current as of 2002/07/02)
	% tar --version
	GNU tar version 1.11.2
System: NetBSD 1.6B NetBSD 1.6B (DOMINE-20020702) #0: Tue Jul 2 01:49:06 BRT 2002 i386
Architecture: i386
Machine: i386

	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.

	Extract data from any archive which contains long pathnames.

		% tar xpzvf j2sdk-1.3.1.tar.gz

	A workaround is to use pax or a different version of tar (a
	newer GNU tar?).