D14464: Cancel privilege operation for read-only target with the current user as owner
Chinmoy Ranjan Pradhan
noreply at phabricator.kde.org
Sun Jul 29 17:58:26 BST 2018
chinmoyr created this revision.
chinmoyr added reviewers: dfaure, ngraham.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
chinmoyr requested review of this revision.
REVISION SUMMARY
If the target file (in case of chown, chmod or utime) or parent dir of target
(for other actions) is owned by the user requesting privilege escalation then
it's better to cancel the file operation and ask user to retry after changing
permissions manually.
REPOSITORY
R241 KIO
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D14464
AFFECTED FILES
src/core/global.h
src/core/job_error.cpp
src/ioslaves/file/file_unix.cpp
To: chinmoyr, dfaure, ngraham
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180729/c720f060/attachment.html>
More information about the Kde-frameworks-devel
mailing list