Bug 52741

Summary: tar content displayed wrong
Product: [Frameworks and Libraries] kio Reporter: Kremer Markus <markus.kremer>
Component: tarAssignee: David Faure <faure>
Status: RESOLVED NOT A BUG    
Severity: normal CC: andresbajotierra, gaurav.p.chaturvedi, grundleborg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Kremer Markus 2003-01-08 16:48:48 UTC
Version:            (using KDE KDE 3.0.3)
Installed from:    SuSE RPMs

The content of some tars is displayed wrong, when the tar file contains directories or files several times.

e.g.

mkdir a
touch a/b
tar -czf /tmp/strange.tgz a a a/b

when i display this file with konqueror, the file exists 4 times.
With more complicated file lists it is even possible that existing files are hidden by konqueror.
Comment 1 George Goldberg 2007-12-19 04:45:00 UTC
Is this bug still there in a recent version of KDE, such as 3.5.8 or KDE4.0 RC2?
Comment 2 David Faure 2007-12-19 11:29:08 UTC
Yes this behavior is still there, actually. But I'm not sure this is a bug :)

tar tvzf /tmp/strange.tgz
drwxr-xr-x dfaure/dfaure     0 2007-12-19 11:27 a/
-rw-r--r-- dfaure/dfaure     0 2007-12-19 11:27 a/b
drwxr-xr-x dfaure/dfaure     0 2007-12-19 11:27 a/
-rw-r--r-- dfaure/dfaure     0 2007-12-19 11:27 a/b
-rw-r--r-- dfaure/dfaure     0 2007-12-19 11:27 a/b

The listing of that tar file agrees with what konqueror displays....
Comment 3 Gaurav Chaturvedi 2009-05-07 03:16:06 UTC
I was able to replicate  David Faure's findings.

tar tvzf /tmp/strange.tgz
drwxr-xr-x gaurav/gaurav     0 2009-05-07 06:39 a/
-rw-r--r-- gaurav/gaurav     0 2009-05-07 06:39 a/b
drwxr-xr-x gaurav/gaurav     0 2009-05-07 06:39 a/
-rw-r--r-- gaurav/gaurav     0 2009-05-07 06:39 a/b
-rw-r--r-- gaurav/gaurav     0 2009-05-07 06:39 a/b

I am on ubuntu jaunty.


So, could we close this one?
Comment 4 Dario Andres 2009-05-07 03:18:13 UTC
Closing as INVALID as this doesn't seem to be a KDE bug