IDEA: Use PolicyKit & friends in KIO to allow privileged writing

Alexander Neundorf neundorf at kde.org
Fri Jul 3 16:54:20 BST 2009


On Friday 03 July 2009, Dario Freddi wrote:
> Hello list,
>
> Since the work on the Authorization Library is going on, I am starting to
> think about the next possible usages around KDE, in the hype of "no longer
> GUIs running as root in KDE".
>
> One thing I was thinking about was KIO. Sometimes you need to copy files to
> /etc, or maybe edit configuration files with KWrite. It would be nice if

I don't know much about PolicyKit...
This would also require that the user enters a password at that moment ?

> KIO detected if there is a permission problem, and in that case triggered
> an helper requiring authentication to finish the job. With the new library
> that would be definitely possible (and completely multiplatform).

How multiplatform is PolicyKit ? OSX, Solaris, OSX, Windows ?

Alex




More information about the kde-core-devel mailing list