Desktop Entry Specification - ExecuteAs proposition

Patryk Zawadzki patrys at pld-linux.org
Tue Mar 9 15:26:57 PST 2010


On Tue, Mar 9, 2010 at 11:22 PM, David Faure <faure at kde.org> wrote:
> But this forces a particular gui program (gksudo or kdesu etc.)
> whereas ExecuteAs=root is more generic (you get your desktop's usual
> gui-su-program rather than a hardcoded one).

What if there isn't one?

If a particular user is needed and that information is available at
"make install" time, why not chown + suid the binary (or use a tiny
helper in case of scripts).

Also, would you trust a .desktop file that is owned by a regular user
and includes Name=cherry.jpg and ExecuteAs=root?

-- 
Patryk Zawadzki


More information about the xdg mailing list