GSoC/2017/StatusReports/chinmoyrp
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
- Phabricator task : https://phabricator.kde.org/T6561
- KIO clone : https://cgit.kde.org/scratch/chinmoyr/kio-polkit-support.git
Blog Posts
- KIO will get polkit support this summer
- New updates in KIO file ioslave
- Polkit Support in KIO - Progess so far