D12732: Implement a more user-friendly run-as-root-or-sudo behavior

Mark Gaiser noreply at phabricator.kde.org
Mon May 7 11:43:16 BST 2018


markg added a comment.


  I wonder if the check is accurate.
  
  I think you need to replace the == root string check to either the one it was before or something like:
  KUser(getuid()).isSuperUser() (this basically is getuid() == 0)

REPOSITORY
  R318 Dolphin

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

To: ngraham, #dolphin
Cc: markg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180507/2deef8f1/attachment.htm>


More information about the kfm-devel mailing list