D29743: sftp: map sftp_open error to kio error
Harald Sitter
noreply at phabricator.kde.org
Thu May 14 13:26:25 BST 2020
sitter created this revision.
sitter added a reviewer: feverfew.
Herald added projects: Dolphin, Frameworks.
Herald added subscribers: kfm-devel, kde-frameworks-devel.
sitter requested review of this revision.
REVISION 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
REPOSITORY
R320 KIO Extras
BRANCH
release/20.04
REVISION DETAIL
https://phabricator.kde.org/D29743
AFFECTED FILES
sftp/kio_sftp.cpp
To: sitter, feverfew
Cc: kde-frameworks-devel, kfm-devel, waitquietly, azyx, nikolaik, pberestov, iasensio, aprcela, fprice, LeGast00n, cblack, fbampaloukas, alexde, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, rdieter, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200514/694de95a/attachment.htm>
More information about the Kde-frameworks-devel
mailing list