Summary: | SFTP uses cache-based mode instead of FileJob-based | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio-extras | Reporter: | Tomas Janco <jancotomas> |
Component: | SFTP | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | a.samirh78, a.saoutkin, alexander.lohnau, fabian, kio-bugs-null |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Tomas Janco
2022-02-14 08:56:17 UTC
Looks like KIO's protocoltojson tool is missing support for the "truncating" property, so it got lost when porting from sftp.protocol to sftp.json. So this needs fixing in protocoltojson as well as all affected .json files. But also truncating should not be required for opening a file in read mode via kio-fuse. (In reply to Tomas Janco from comment #2) > But also truncating should not be required for opening a file in read mode > via kio-fuse. IMO it's even more surprising behaviour if opening a file O_RDWR results in entirely different semantics than O_RDONLY. I created merge requests for the required changes: https://invent.kde.org/frameworks/kio/-/merge_requests/758 https://invent.kde.org/network/kio-extras/-/merge_requests/143 MRs got merged, closing. |