Bug 52741 - tar content displayed wrong
Summary: tar content displayed wrong
Status: RESOLVED NOT A BUG
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: tar (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-08 16:48 UTC by Kremer Markus
Modified: 2009-05-07 03:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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