<div dir="ltr">I can't find the standard on that too.<div>But some desktops implement the concept of authorized (trusted) .desktop files, not sure that the requirements are uniform across desktops though.</div><div>Eg. on KDE desktop file is authorized if either if these applies: [1]</div><div>1. Desktop file is in standard location</div><div>2. Desktop file has root owner</div><div>3. The calling process has executable permission on that desktop file</div><div><br></div><div>[1]</div><div><a href="https://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKDesktopFile.html#ab9222da1ca239fc3847d31833bc45552">https://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKDesktopFile.html#ab9222da1ca239fc3847d31833bc45552</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 18, 2017 at 2:50 PM, Jonas Stein <span dir="ltr"><<a href="mailto:news@jonasstein.de" target="_blank">news@jonasstein.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
we had recently a discussion on the gentoo developer cannel, if .desktop<br>
files should be all executable, or all not-executable.<br>
<br>
I could not find this in the definition. [1]<br>
Can you help us and could you add a note about the executable bit in the<br>
standard definition, please?<br>
<br>
[1]<br>
<a href="https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html" rel="noreferrer" target="_blank">https://standards.freedesktop.<wbr>org/desktop-entry-spec/<wbr>desktop-entry-spec-latest.html</a><br>
<br>
Best,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Jonas Stein<br>
______________________________<wbr>_________________<br>
xdg mailing list<br>
<a href="mailto:xdg@lists.freedesktop.org">xdg@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/xdg" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/xdg</a><br>
</font></span></blockquote></div><br></div>