D14467: Auth Support: Drop privileges if target is not owned by root
Chinmoy Ranjan Pradhan
noreply at phabricator.kde.org
Sun Jul 29 18:45:13 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
For actions chown, chmod and utime, process' user and group id will be
set to target's owner and group id and for other actions it will be set
to owner and group id target's parent directory.
As a special case, for rename action the owner and group id of parent dir
of the new file is also checked. If it's same as target's then privileges
are dropped accordingly otherwise privileges are preserved
REPOSITORY
R241 KIO
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D14467
AFFECTED FILES
src/ioslaves/file/kauth/filehelper.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/ca197096/attachment.html>
More information about the Kde-frameworks-devel
mailing list