Summary: | SFTP file create date is wrong | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio-extras | Reporter: | Victor Porton <porton> |
Component: | SFTP | Assignee: | Harald Sitter <sitter> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asn, elvis.angelaccio, nate, sitter |
Priority: | NOR | ||
Version: | 5.8.5 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kio-extras/b13449a13b00a882a93230b8180200d4709c3e8b | Version Fixed In: | 20.04 |
Sentry Crash Report: |
Description
Victor Porton
2017-01-19 17:09:43 UTC
Thanks for report, I can reproduce. Moving to kio-extras where sftp:// lives. You mean you just connect to a sftp server, choose a file, right click on it an select properties? @Andreas Schneider Yes. Git commit b13449a13b00a882a93230b8180200d4709c3e8b by Harald Sitter. Committed on 25/03/2020 at 12:30. Pushed by sitter into branch 'master'. sftp: do not show creation time when we do not know it Summary: creation time (aka birth time) is file system dependent, if the fs doesn't support it we seem to get createtime==0. skip over it when that is the case. FIXED-IN: 20.04 Test Plan: browsing a directory on btrfs over sftp doesn't show creation time as 1970 Reviewers: ngraham, bruns, meven Reviewed By: ngraham, bruns, meven Subscribers: meven, bruns, kde-frameworks-devel, kfm-devel Tags: #dolphin, #frameworks Differential Revision: https://phabricator.kde.org/D27873 M +6 -1 sftp/kio_sftp.cpp https://commits.kde.org/kio-extras/b13449a13b00a882a93230b8180200d4709c3e8b A possibly relevant merge request was started @ https://invent.kde.org/network/kio-extras/-/merge_requests/126 Git commit 0cbdeb1fc5a7e2b51ffcd8e931ad01b89c9672d9 by Méven Car. Committed on 08/10/2021 at 09:38. Pushed by sitter into branch 'master'. sftp: avoid bogus KIO::UDSEntry::UDS_CREATION_TIME values "flags & SSH_FILEXFER_ATTR_CREATETIME" check was missing in listDir M +3 -1 sftp/kio_sftp.cpp https://invent.kde.org/network/kio-extras/commit/0cbdeb1fc5a7e2b51ffcd8e931ad01b89c9672d9 |