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

Dario Freddi drf54321 at
Fri Jul 3 17:18:26 BST 2009

On Friday 03 July 2009 17:54:20 Alexander Neundorf wrote:
> 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 ?

Obviously: the trend would move from starting programs as root to being asked 
for password whenever needed, and let some privileged helper application (for 
techinical details refer to Techbase's tutorials) perform the root operation. 
More security, less code running as root, more happy users since starting apps 
as root can be painful.

> > 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 ?

Nicola already replied, so I'm not going to add anything :)

> Alex


Dario Freddi
KDE Developer
GPG Key Signature: 511A9A3B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list