Bug 470324 - Executable desktop file
Summary: Executable desktop file
Status: RESOLVED FIXED
Alias: None
Product: KClock
Classification: Applications
Component: General (other bugs)
Version First Reported In: 23.04.1
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Devin Lin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-27 07:45 UTC by Ondřej Kučera
Modified: 2023-05-27 09:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondřej Kučera 2023-05-27 07:45:48 UTC
SUMMARY
***
By chance I noticed the following message in the journal:

"systemd-xdg-autostart-generator[5569]: Configuration file /etc/xdg/autostart/org.kde.kclockd-autostart.desktop is marked executable. Please remove executable permission bits. Proceeding anyway."

Looking at the file, its mode indeed is 755. All other org.kde.* files in the directory are 644.
***


STEPS TO REPRODUCE
1. ls -l /etc/xdg/autostart/org.kde.*

OBSERVED RESULT
org.kde.kclockd-autostart.desktop being -rwxr-xr-x

EXPECTED RESULT
org.kde.kclockd-autostart.desktop being -rw-r--r--, the same as other files

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION

I reported this to the ArchLinux bug tracker but the resolution was that it's an upstream issue.
Comment 1 hanyoung 2023-05-27 09:28:44 UTC
Git commit c5eb200e33b94968b662bb649de56742577bb1f0 by Han Young.
Committed on 27/05/2023 at 09:28.
Pushed by hanyoung into branch 'master'.

install autostart file as FILE not PROGRAM

M  +1    -1    CMakeLists.txt

https://invent.kde.org/utilities/kclock/-/commit/c5eb200e33b94968b662bb649de56742577bb1f0