NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/38066: tar doesn't dearchive correctly long symlinks
The following reply was made to PR bin/38066; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/38066: tar doesn't dearchive correctly long symlinks
Date: Tue, 19 Feb 2008 11:47:05 -0500
On Feb 19, 4:35pm, kefren%ngnetworks.ro@localhost
(kefren%ngnetworks.ro@localhost) wrote:
-- Subject: bin/38066: tar doesn't dearchive correctly long symlinks
| >Number: 38066
| >Category: bin
| >Synopsis: tar doesn't dearchive correctly long symlinks
| >Confidential: no
| >Severity: non-critical
| >Priority: medium
| >Responsible: bin-bug-people
| >State: open
| >Class: sw-bug
| >Submitter-Id: net
| >Arrival-Date: Tue Feb 19 16:35:00 +0000 2008
| >Originator: Mihai Chelaru
| >Release: NetBSD 4.0_RC1
| >Organization:
|
| >Environment:
|
|
| System: NetBSD pr1.girsa.ro 4.0_RC1 NetBSD 4.0_RC1 (Kefren.MPACPI) #2: Sun
Sep 2 19:50:00 EEST 2007
root%pr1.girsa.ro@localhost:/usr/src-40/sys/arch/i386/compile/obj/Kefren.MPACPI
i386
| Architecture: i386
| Machine: i386
| >Description:
|
| tar/pax doesn't dearchive correctly long symlinks from a pax_restricted
archive type
| like the ones pkg_create builds. gtar and bsdtar work correctly.
|
| pr1# tar vft mono-1.2.6.tar | grep
1.0/System.Runtime.Serialization.Formatters.Soap.dll
| lrwxr-xr-x 1 root wheel 0 Feb 19 16:55
lib/mono/1.0/System.Runtime.Serialization.Formatters.Soap.dll ->
././@LongSymLink
| pr1# gtar vft mono-1.2.6.tar | grep
1.0/System.Runtime.Serialization.Formatters.Soap.dll
| lrwxr-xr-x root/wheel 0 2008-02-19 16:55:44
lib/mono/1.0/System.Runtime.Serialization.Formatters.Soap.dll ->
../gac/System.Runtime.Serialization.Formatters.Soap/1.0.5000.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
| pr1# bsdtar vft mono-1.2.6.tar | grep
1.0/System.Runtime.Serialization.Formatters.Soap.dll
| lrwxr-xr-x 1 root wheel 0 Feb 19 16:55
lib/mono/1.0/System.Runtime.Serialization.Formatters.Soap.dll ->
../gac/System.Runtime.Serialization.Formatters.Soap/1.0.5000.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
| pr1# file mono-1.2.6.tar
| mono-1.2.6.tar: POSIX tar archive
This is not a bug. Whatever pkg_create builds:
1. Should be marked as a GNU tar archive not as a POSIX one.
POSIX tar archives don't have ././@LongLink extensions.
2. The extension string is "././@LongLink" not "././@LongSymLink". pax
checks for the exact name, others might check for "././@Long" or something
that is why they work.
christos
Home |
Main Index |
Thread Index |
Old Index