https://bugs.kde.org/show_bug.cgi?id=179678

--- Comment #34 from Nate Graham <pointedst...@zoho.com> ---
Bo, you're not really arguing against a decision made here, but rather against
the whole direction that our industry is going in. As has been mentioned,
Wayland disallows running GUI apps as root. As a penetration tester, this may
make your life more difficult, but you're not the user that the Wayland folks
are targeting. They are trying to make computers more secure for ordinary users
(who have difficulty with the concepts we're discussing), not more convenient
for security researchers. I would recommend you take your case to the Wayland
folks, though I doubt you'll get very far because this is an architectural
design decision that doesn't really seem open for debate.

Instead, you're in the same boat we are: given that currently (or in the near
future), we won't be able to open GUI apps as root, how can we avoid losing
existing functionality? So far the answer seems to be PolKit adoption, which
lets you open apps using normal user permissions and only request elevated
permissions when necessary. Again this isn't really our decision; the world
evolves and we need to evolve along with it or else our software will stop
working.

> Well it seems that you all screwing with KIO broke kate so why report it to 
> the
> kate team?  BTW what you said about opening a root owned file is wrong.  Kate
> will not open AT ALL under root.  you said I can see the file how?? Kate won't
> even open.  It doesn't "work like a charm" it doesn't work AT ALL.

You don't open Kate as root anymore. You open it with normal permissions and
edit your root-owned file, either by opening it with the File > Open dialog, or
via `kate /path/to/root/owned/file.txt`. When you save, you should get prompted
for credentials to complete the save operation.

Both of those use cases work for me with KDE Frameworks 5.40 and Kate 17.12,
and they have worked for quite a while. If either of those use cases do not
work for you, please let us know.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to