1a8f4a5dd0
Install proper polkit authorisation file and use pkexec instead of xdg-su to run gparted from the desktop menu with elevated privileges; fixes bnc#755837 (forwarded request 156214 from Zaitor) OBS-URL: https://build.opensuse.org/request/show/156363 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gparted?expand=0&rev=13
20 lines
743 B
XML
20 lines
743 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE policyconfig PUBLIC
|
|
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
|
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
|
<policyconfig>
|
|
|
|
<action id="org.opensuse.policykit.gparted">
|
|
<message>Authentication is required to run the GParted Partition Editor</message>
|
|
<icon_name>gparted</icon_name>
|
|
<defaults>
|
|
<allow_any>auth_admin</allow_any>
|
|
<allow_inactive>auth_admin</allow_inactive>
|
|
<allow_active>auth_admin</allow_active>
|
|
</defaults>
|
|
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/gparted</annotate>
|
|
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
|
</action>
|
|
|
|
</policyconfig>
|