kdesudo and the config problem

Donatas G. dgvirtual at akl.lt
Tue May 15 05:57:47 UTC 2012

2012/5/15 David Edmundson <david at davidedmundson.co.uk>

> On Sat, May 12, 2012 at 6:02 PM, Terence Simpson <tsimpson at kubuntu.org>
> wrote:
> > On 12 May 2012 17:44, David Edmundson <david at davidedmundson.co.uk>
> wrote:
> >> There is never a case to run "kdesudo kate /someFile".
> >>
> >> Use "sudoedit /someFile". This uses root to copy the file to /tmp, you
> >> then run the default editor (hopefully kate) as yourself, then
> >> whenever the file changes you copy the file back (as root).
> >>
> >> Not really answering the question/real problem, but making sure people
> >> do this makes the problem less bad.
> >
> > You really can't expect (normal) users to open a terminal and use
> > sudoedit, which would use nano by default (unless they knew how to
> > change /etc/alternatives/ stuff).
> > Ideally, kdesudo would copy the running users style/theme settings,
> > possibly by using a custom $KDEHOME when launching the application.
> > (Or just use polkit)
> >
> That's a valid point.
> Well the ideal solution still seems to be to update kate to have a
> "save as root" which again uses Polkit for the actual saving.

"Save as root"  would be a good solution only in cases when the file can be
read but not written to by the user.. But what about files that cannot even
be opened by the user?

like /etc/fuse.conf  ?

Admittedly, this case is quite rare.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20120515/4ac2e587/attachment.html>

More information about the kubuntu-devel mailing list