! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar does not copy file metadata across virtual fs
Status:
RESOLVED: MOVED

Comments

Description haarp 2018-10-22 09:57:50 CEST
When copying from virtual filesystems, such as sftp://, metadata such as timestamps are discarded. The copied file's timestamp will be the time of copy instead.
Comment 1 haarp 2019-03-25 15:19:00 CET
Still happening in 1.8.4.
Comment 2 Theo Linkspfeifer editbugs 2019-03-30 12:20:16 CET
Does this work properly with other file managers? It may be an issue in the gvfs backend.
Comment 3 haarp 2019-03-30 12:23:14 CET
(In reply to Theo Linkspfeifer from comment #2)
> Does this work properly with other file managers? It may be an issue in the
> gvfs backend.

Yes, it works fine in mc.

Thunar even shows the timestamps on the remote end, it just doesn't end up copying them.
Comment 4 Theo Linkspfeifer editbugs 2019-04-20 21:30:58 CEST
Could you please test with Nautilus, Nemo and/or Caja?
Comment 5 haarp 2019-04-26 14:29:14 CEST
(In reply to Theo Linkspfeifer from comment #4)
> Could you please test with Nautilus, Nemo and/or Caja?

Both Nautilus and Caja show the same bug. They too show the correct timestamp on the remote end, but do not copy it.

Copying files manually from /run/user/1234/gvfs/... using e.g. commandline tools copies the timestamps correctly.
Comment 6 Theo Linkspfeifer editbugs 2020-03-19 11:55:50 CET
I found an upstream report for gvfs:
https://gitlab.gnome.org/GNOME/gvfs/issues/346
Comment 7 haarp 2020-03-19 12:05:04 CET
(In reply to Theo Linkspfeifer from comment #6)
> I found an upstream report for gvfs:
> https://gitlab.gnome.org/GNOME/gvfs/issues/346

Interesting, thanks. If I'm reading this correctly, Thunar merely needs to use G_FILE_COPY_ALL_METADATA to maintain metadata. This would then be consistent with local non-gvfs file operations.
Comment 8 Git Bot editbugs 2020-05-26 23:39:12 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/218.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14787

Reported by:
haarp
Reported on: 2018-10-22
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Attachments

Additional information