Version: (using KDE KDE 3.2.1) Installed from: Debian testing/unstable Packages OS: Linux Open two "file:" URLs in konqueror. Drag a file from window A to window B. File timestamp (and other attributes) have been preserved. Open one "file:" URL and one "sftp:" or "fish:" URL Draw a file from window A to window B. File timestamp on destination has been overwritten with today's date. I personally would prefer that the timestamp is preserved. But at the very least these two cases should be consistent. Either a copy preserves attributes or it doesn't.
The same effect for SuSE 9.0/KDE 3.2.3 and also with "smb:" I'll also prefer to have the timestamp preserved!!! (even if cp will only do so using an option)
using scp on the command line doesn't preserve permissions by default (you have to pass it an option to do so), so i see this as more of a wish for that functionality.
*** This bug has been confirmed by popular vote. ***
comment 2 says that this is a wish. I disagree. Either dragging from one window to another preserves timestamps or it doesn't - you can't have different behaviours based on what the protocol is. The decision to preserve or not preserve is less important than consistency.
This bug now seems to apply to the new media:/ kio-slave as well. Copying from file:/home/user to file:/media/device preserves timestamps; copying from file:/home/user to media:/device does not. I read in bug #56213 (which is exactly the same bug IMHO) that KIO doesn't support timestamp modification. Is this the case? Is it true that any file: to other: copy will alter the timestamps?
SVN commit 514315 by dfaure: Preserve modification time when copying to other protocols too. Currently implemented for file:/ -> system:/ and probably vice versa, need to look at the other protocols. CCBUG: 79937 M +9 -0 kio/forwardingslavebase.cpp M +17 -2 kio/job.cpp M +9 -0 kio/jobclasses.h M +18 -5 kio/slavebase.h M +102 -14 tests/jobtest.cpp M +7 -1 tests/jobtest.h
I've tested with fish and smb regarding timestamp. It works only one way. If I copy a file from remote to local, timestamp is preserved (so good!), while if I copy files from local to remote, they are create with current timestamp, losing the original one. Tried with both dolphin and konqueror, kde4.1beta. Please, fix the other way also.
SVN commit 815042 by segato: preserve the modification time when copying a file over the smb kioslave it works only on systems with utime CCBUG: 79937 M +4 -0 CMakeLists.txt A config-smb.h.cmake M +2 -0 kio_smb.h M +16 -0 kio_smb_file.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=815042
*** This bug has been marked as a duplicate of bug 356651 ***