FS#31006 - [kde] desktop files are executable
Attached to Project:
Arch Linux
Opened by Sébastien Luttringer (seblu) - Saturday, 04 August 2012, 17:09 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 10 December 2012, 10:43 GMT
Opened by Sébastien Luttringer (seblu) - Saturday, 04 August 2012, 17:09 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 10 December 2012, 10:43 GMT
|
Details
Kde packages provide desktop files which are executable.
desktop file shoud not be executable !
run the following command to view all packages $ find /usr/share/applications/kde4/ -name '*.desktop' -perm /111 | xargs pacman -Qqo|sort|uniq executing a desktop file produces output like this: $ /usr/share/applications/kde4/korganizer.desktop /usr/share/applications/kde4/korganizer.desktop: line 1: [Desktop: command not found /usr/share/applications/kde4/korganizer.desktop: line 3: and: command not found /usr/share/applications/kde4/korganizer.desktop: line 4: en: command not found /usr/share/applications/kde4/korganizer.desktop: line 5: $'\330\247\331\204\330\252\331\202\331\210\331\212\331\205': command not found /usr/share/applications/kde4/korganizer.desktop: line 6: $'\320\267\320\260': command |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Monday, 10 December 2012, 10:43 GMT
Reason for closing: Not a bug
Additional comments about closing: see the upstream explanation
Monday, 10 December 2012, 10:43 GMT
Reason for closing: Not a bug
Additional comments about closing: see the upstream explanation
I reported this upstream ( https://bugs.kde.org/show_bug.cgi?id=304569 ), but I didn't find the freedesktop specification for the desktop entries permissions; could you point me to one?
But it make sense, desktop files are like other non executable files (png, mp3, ...) and permissions are filesystem dependant.
Those files are not executable (no elf header, no sheebang, no starting key which can be detected by binfmt). Making them executable seems to be useless (and harmfull).