pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Executable bit on .desktop files: necessary or unwanted?



Hi!

While working on digikam I noticed a warning during 'install' about
the executable bit set on the .desktop files.

I wondered if that was fine or not and found:

https://unix.stackexchange.com/questions/373239/what-is-the-advantage-of-desktop-files-without-executable-bit-set

where it says:

"KDE and gnome developers introduced a custom hack that somewhat
deviates the intended Unix file execution permission purpose to add a
security layer. With this new layer, only .desktop files with the
executable bit set are taken into account by the desktop environment."

On my system, most .desktop files I have installed are not executable
(53 of 64), but some KDE ones and a few others are.

Should we unify this one way or the other? Does KDE (or any other
desktop environment) need the executable bit set on .desktop files?
 Thomas


Home | Main Index | Thread Index | Old Index