sftp: map sftp_open error to kio error
ClosedPublic

Authored by sitter on May 14 2020, 12:26 PM.

Details

Summary

sftp gives out more relevant errors such as SSH_FX_PERMISSION_DENIED,
let's forward them as KIO errors instead of using the general cannot open
error.

Test Plan

hoping for the best! bad permissions on the remote now actually raise suitable kio errors, functionally that seems to make little difference unfortunately

Diff Detail

Repository
R320 KIO Extras
Branch
release/20.04
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 26894
Build 26912: arc lint + arc unit
sitter created this revision.May 14 2020, 12:26 PM
Restricted Application added projects: Dolphin, Frameworks. · View Herald TranscriptMay 14 2020, 12:26 PM
Restricted Application added subscribers: kfm-devel, kde-frameworks-devel. · View Herald Transcript
sitter requested review of this revision.May 14 2020, 12:26 PM
feverfew accepted this revision.May 14 2020, 2:11 PM
This revision is now accepted and ready to land.May 14 2020, 2:11 PM
This revision was automatically updated to reflect the committed changes.