I can't find the standard on that too.
But some desktops implement the concept of authorized (trusted) .desktop
files, not sure that the requirements are uniform across desktops though.
Eg. on KDE desktop file is authorized if either if these applies: [1]
1. Desktop file is in standard location
2. Desktop file has root owner
3. The calling process has executable permission on that desktop file

[1]
https://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKDesktopFile.html#ab9222da1ca239fc3847d31833bc45552

On Sun, Jun 18, 2017 at 2:50 PM, Jonas Stein <[email protected]> wrote:

> Dear all,
>
> we had recently a discussion on the gentoo developer cannel, if .desktop
> files should be all executable, or all not-executable.
>
> I could not find this in the definition. [1]
> Can you help us and could you add a note about the executable bit in the
> standard definition, please?
>
> [1]
> https://standards.freedesktop.org/desktop-entry-spec/
> desktop-entry-spec-latest.html
>
> Best,
>
> --
> Jonas Stein
> _______________________________________________
> xdg mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/xdg
>
_______________________________________________
xdg mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to