Summary: | Moving files onto a smb network share sets the files' access/modify times to the current date/time. | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio-extras | Reporter: | jamespharvey20 |
Component: | Samba | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andyparkins, bugseforuns, capozla, frank78ac, kdelibs-bugs, nate, sitter, suse |
Priority: | VHI | Keywords: | usability |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kio-extras/aaedd983729f85129a91d861e1e4c2cc6ad084cb | Version Fixed In: | 19.12.3 |
Sentry Crash Report: |
Description
jamespharvey20
2015-12-14 07:11:58 UTC
Thanks for the bug report. This might be a problem either in the smb kioslave or in the KIO framework. *** Bug 365901 has been marked as a duplicate of this bug. *** Possibly related commit: https://cgit.kde.org/kde-runtime.git/commit/?id=6c0de3209da77eb10976af72307188eb68aa0689 *** Bug 79937 has been marked as a duplicate of this bug. *** I'm pretty sure we always change the atime for local<->remote transfers, even when you move. You'll move across a boundary (i.e. the network) so we do technically and practically have to read the file to move it to the new destination. That seems entirely expected and intentional to me. The mtime is indeed bugged though. Git commit aaedd983729f85129a91d861e1e4c2cc6ad084cb by Harald Sitter. Committed on 13/02/2020 at 11:17. Pushed by sitter into branch 'master'. smb: call smb_cutime on the correct url to actually set mtime properly Summary: since the introduction of partial resume dstUrl would can be the .part url whereas dstOrigUrl is the final destination url. i.e. we called smbc_utime on smb://foo/bar.part rather than smb://foo/bar FIXED-IN: 19.12.3 Test Plan: moving file to smb retains mtime Reviewers: ngraham Reviewed By: ngraham Subscribers: kde-frameworks-devel, kfm-devel Tags: #dolphin, #frameworks Differential Revision: https://phabricator.kde.org/D27351 M +1 -1 smb/kio_smb_dir.cpp https://commits.kde.org/kio-extras/aaedd983729f85129a91d861e1e4c2cc6ad084cb *** Bug 417306 has been marked as a duplicate of this bug. *** |