D6831: Make use of kauth helper in methods of file ioslave

Chinmoy Ranjan Pradhan noreply at phabricator.kde.org
Tue Jan 2 12:56:31 UTC 2018


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


  1.Added check for unit test mode at beginning of put.
  2.put was setting the wrong permissions because I initialized 'filemode' to 0 and did't update it. Now it is fixed.
  3.Replaced file.setPermissions with Qfile::setPermissions  and used tryChangeFileAttr in put.
  4.Moved 'finished()' in chmod out of the else block.

REPOSITORY
  R241 KIO

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D6831?vs=20367&id=24585

BRANCH
  master

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

AFFECTED FILES
  src/ioslaves/file/file.cpp
  src/ioslaves/file/file_unix.cpp

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


More information about the Kde-frameworks-devel mailing list