Why are some copied files dates now, but not others?

Michael Hirsch mdhirsch at gmail.com
Tue Feb 12 22:50:35 UTC 2008


On Feb 7, 2008 6:22 PM, Dotan Cohen <dotancohen at gmail.com> wrote:
> In konqueror, when I copy files via ssh from a remote host to local,
> the file's date is the date that the original file was created on the
> remote host. However, if I then copy the same file from local to a
> different remote host, the new file's date is today. Why is that? Is
> this a bug? I'm on Ubuntu 7.04 with KDE 3.5.8.

I would guess that there is an asymetry inherent in using ssh to copy
files.  When the copy is done to the local filesystem, you can use any
system call you want to change that file.  When it copies out to the
remote system you are stuck with whatever sftp or ssh allows you do
to.

I would say it is a minor bug.  You can file it, but I would be
surprised if it got fixed--it may not be fixable.  But you never know.

Michael




More information about the kubuntu-users mailing list