Version: 3.1.2 (using KDE 3.1.2) Installed from: Mandrake Linux Cooker i586 - Cooker Compiler: gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk) OS: Linux (i686) release 2.4.21-0.13mdk In konqueror, click on a local file.tar.bz2 archive file. The contents of the archive are displayed in konqueror with the correct timestamps. Now copy the contents of this archive (as seen in konqueror) to a directory. The copied files have time stamps set to current time. This behavior is very different from "tar -jxf file.tar.bz2" (which preserves time stamps). It appears that the copy operation is the culprit and instead of being analogous to "cp -p", its doing just "cp" and causing the time stamps to change. The time stamps must remain the same.
See also bug #55804 (for all KIO slaves)
*** Bug 64461 has been marked as a duplicate of this bug. ***
See the similar bug #122609 for zip.
Using kde-3.5.7. In come cases, the time stamp becomes "Dec 31 1969" after extraction with konqueror from a tar.bz2 archive. If the extraction is done from the command-line with the "tar" command then the same folder gets a current time stamp, which is more sensible.
That's a different bug I think (now a bug in KTar itself, not in the KIO copy framework). Do you have a sample tar file which shows this behavior?
The sample file is http://intellinuxwireless.org/mac80211/downloads/mac80211-9.0.2.tgz When I extract this thru konqueror, these sub-dirs inside the mac80211-9.0.2 dir have the odd time-stamps -> drwxrwxr-x 4 ndeb ndeb 120 Dec 31 1969 origin/ drwxrwxr-x 2 ndeb ndeb 1232 Dec 31 1969 patches/ drwxrwxr-x 2 ndeb ndeb 1856 Dec 31 1969 pending/ drwxrwxr-x 2 ndeb ndeb 368 Dec 31 1969 scripts/ drwxrwxr-x 2 ndeb ndeb 72 Dec 31 1969 stubs/
To comment 5, doesn't kTar call tar itself?
Here using: Qt: 4.5.2 (KDE-Qt git commit 46a247a2c9a8c0c4456a02f6a0922d859d88fe76 Date: Fri Jun 26 13:45:37 2009 +0200) KDE: 4.3.61 (KDE 4.3.61 (KDE 4.4 >= 20090717)) kdelibs svn rev. 999250 / kdebase svn rev. 999250 on ArchLinux i686 - Kernel 2.6.30.1 - I downloaded the testcase file on comment 6 - I opened it using Dolphin (option "browse through archives" enabled) The date× were the same as described on comment 6 - I selected the files and copied them - I went to another dir and pasted the files - At the first moments, the files are pasted with the current timestamp, but after 1/2 second the proper dates appeared I also checked this is some other random tar.gz files So, it is working for me here. Can anyone else confirm this ? Thanks
(In reply to comment #8) > So, it is working for me here. Can anyone else confirm this ? Thanks Yes, works perfectly as of KDE SC 4.4.1.