[dolphin] [Bug 422030] Pkexec does not work with Dolphin service menus on 20.04

Don B. Cilly bugzilla_noreply at kde.org
Fri May 29 07:12:06 BST 2020


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

--- Comment #3 from Don B. Cilly <donbcilly at gmail.com> ---
Sure. Take this simple service menu. It touches a file that requires elevated
privileges as in the case it is, say, owned by root.

You run that on an 18.04-based system, it works.
You run it on 20.04, it doesn't.
The polkit window for the password does not come up.

[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=all/all;
#MimeType=all;
Actions=stouch;
Encoding=UTF-8
Icon=application-x-cd-image

[Desktop Action stouch]
Name=Sudo touch
Icon=edit-redo
Exec=pkexec touch %f; kdialog --title="Touch" --passivepopup="Touched";fi

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the kfm-devel mailing list