[arch-general] [Bulk] Re: gparted cant take root priviliges

Doug Newgard scimmia at archlinux.info
Fri Jul 11 01:35:17 EDT 2014


On 2014-07-11 00:07, Ralf Mardorf wrote:
> On Thu, 2014-07-10 at 23:00 -0500, Doug Newgard wrote:
>> On 2014-07-10 21:36, Ralf Mardorf wrote:
>> > On Thu, 2014-07-10 at 20:54 -0400, Mark Lee wrote:
>> >> Run : /usr/bin/gparted_polkit
>> >
>> > JFTR the default command of the menu is  /usr/sbin/gparted %f , so the
>> > menu entry has to be changed.
>> 
>> No, it isn't.
>> 
>> % cat /usr/share/applications/gparted.desktop | grep Exec
>> Exec=/usr/bin/gparted_polkit %f
> 
> [rocketmouse at archlinux ~]$ grep Exec 
> /usr/share/applications/gparted.desktop
> Exec=/usr/bin/gparted_polkit %f
> 
> But software as e.g. menulibre and cinnamon-menu-editor do
> show /usr/sbin/gparted %f, so assumed I would use xfce4-appfinder to
> launch gparted on JWM, it would launch /usr/sbin/gparted %f and
> _not_ /usr/bin/gparted_polkit %f. I kept the default, didn't edit this
> entry, it definitively is /usr/sbin/gparted %f . IOW the menu's default
> might be /usr/bin/gparted_polkit %f for the DE you're using, but for
> e.g. Xfce4 users (xfce4-popup-applicationsmenu and
> xfce4-popup-whiskermenu) it is /usr/sbin/gparted %f.

I just launched polkit from the xfce menu and it ran 
/usr/bin/gparted_polkit %f as expected. I wouldn't use anything who's 
authors decided to ignore the system and run whatever the hell they 
wanted.


More information about the arch-general mailing list