Bug 470324

Summary: Executable desktop file
Product: [Applications] KClock Reporter: Ondřej Kučera <ondrej.kucera>
Component: GeneralAssignee: Devin Lin <espidev>
Status: RESOLVED FIXED    
Severity: minor CC: hanyoung
Priority: NOR    
Version First Reported In: 23.04.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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