D6833: Add support for PrivilegeExecution in KIO jobs

Chinmoy Ranjan Pradhan noreply at phabricator.kde.org
Fri Aug 11 19:08:41 UTC 2017


chinmoyr updated this revision to Diff 18019.
chinmoyr added a comment.


  - Add PrivilegeExecution flag to subjobs
  - Removed the default case from CopyJob
  - Initially I didn't add checks for PrivilegeExecution flag in SimpleJob as most of them don't take it as argument. Now added checks for this flag for symlink, rename and delete operation.
  - Pass 'flags' as argument when creating a SimpleJob for rename operation. Otherwise rename would fail when inside root owned location.

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D6833?vs=17225&id=18019

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D6833

AFFECTED FILES
  src/core/chmodjob.cpp
  src/core/copyjob.cpp
  src/core/deletejob.cpp
  src/core/filecopyjob.cpp
  src/core/job_p.h
  src/core/mkpathjob.cpp
  src/core/simplejob.cpp
  src/core/storedtransferjob.cpp

To: chinmoyr, dfaure, #frameworks
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170811/280b2fdd/attachment.html>


More information about the Kde-frameworks-devel mailing list