NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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
>How-To-Repeat:
        
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index