GSoC/2017/StatusReports/chinmoyrp

From KDE Community Wiki

Polkit Support in KIO

Running Qt GUI applications as root is dangerous. Some KDE applications are disabling being executed as root. For example, the next versions of Dolphin and Kate will show an error message and exit when started with root privileges. Polkit is the library made specifically to solve such problems. It is the standard framework used by Linux desktops to grant privileged actions to unprivileged processes. The goal of this project is to add Polkit support in KIO, the library used by KDE applications to manipulate the filesystem.

Work Report

Brief

What's working with elevated privileges

  • File Cut/Copy/Paste
  • File/Folder delete
  • Rename File
  • Create New File/Folder/Link
  • Undo
  • Drag and Drop


What's not working with elevated privileges [TODO]

  • Mass Rename
  • Copying locked folders i.e, folders without the search permission.
  • Listing contents of a locked folder
  • Trashing files
  • Creating archives

Code

Blog Posts

Proposal