Bug 428796 - /etc/xdg/autostart/klipper.desktop is marked executable
Summary: /etc/xdg/autostart/klipper.desktop is marked executable
Status: RESOLVED FIXED
Alias: None
Product: klipper
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 5.20.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-07 19:12 UTC by Juan Simón
Modified: 2020-11-20 14:11 UTC (History)
4 users (show)

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


Attachments
journald log (13.08 KB, text/plain)
2020-11-17 01:18 UTC, jdally987
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Simón 2020-11-07 19:12:45 UTC
In my journal log shows:
"Configuration file /etc/xdg/autostart/klipper.desktop is marked executable. Please remove executable permission bits. Proceeding anyway."
Comment 1 Justin Zobel 2020-11-07 23:11:42 UTC
I can't confirm this on KDE Neon Unstable.

-rw-r--r-- 1 root root  12K Oct 19 13:00 klipper.desktop

And journalctl doesn't have anything regarding klipper's .desktop file.

Nothing in my /etc/xdg/autostart is marked as executable either so I'm wondering if it's a packaging issue with Arch or a change you've made.

I checked the Arch PKGBUILD too and can't see anything that would cause it to be marked as executable.

I think you can safely sudo chmod -x /etc/xdg/autostart/klipper.desktop
Comment 2 Antonio Rojas 2020-11-07 23:52:13 UTC
(In reply to Justin Zobel from comment #1)

> Nothing in my /etc/xdg/autostart is marked as executable either so I'm
> wondering if it's a packaging issue with Arch or a change you've made.

No, it's not. This is explicitly installed as executable in https://invent.kde.org/plasma/plasma-workspace/-/blob/master/klipper/CMakeLists.txt#L62
Comment 3 Justin Zobel 2020-11-08 00:08:08 UTC
(In reply to Antonio Rojas from comment #2)
> (In reply to Justin Zobel from comment #1)
> 
> > Nothing in my /etc/xdg/autostart is marked as executable either so I'm
> > wondering if it's a packaging issue with Arch or a change you've made.
> 
> No, it's not. This is explicitly installed as executable in
> https://invent.kde.org/plasma/plasma-workspace/-/blob/master/klipper/
> CMakeLists.txt#L62

And yet it's not showing as executable on:
KDE Neon Unstable
KDE Neon User Edition
Ubuntu 20.04.1
Comment 4 jdally987 2020-11-17 01:17:11 UTC
Hey I get this too - on NixOS 20.09 (plasma5 package ver 5.18.5 I think). I thought it might be a security concern but I have no idea - just wondering what it could be in any case.

I'll attach what syslog spits out when I run `nixos-rebuild switch`, it's right there in the middle:

systemd[9477]: Configuration file /run/current-system/sw/etc/xdg/autostart/klipper.desktop is marked executable. Please remove executable permission bits. Proceeding anyway.

(although it looks like all the .desktop files in that directory are executable as well)
Comment 5 jdally987 2020-11-17 01:18:10 UTC
Created attachment 133390 [details]
journald log

Output upon running `nixos-rebuild switch`
Comment 6 David Edmundson 2020-11-17 10:03:41 UTC
I don't think it's a security concern, but it is worth fixing.
Comment 7 David Edmundson 2020-11-17 10:08:10 UTC
>And journalctl doesn't have anything regarding klipper's .desktop file.


It's systemd's new xdg autostart generator that is generating the warning, you don't have that on Neon
Comment 8 Bug Janitor Service 2020-11-17 10:12:09 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/465
Comment 9 David Edmundson 2020-11-20 14:11:26 UTC
Git commit 1d09af418e6fda8f72336ca5eeb8dc6db3e8cb06 by David Edmundson.
Committed on 20/11/2020 at 14:10.
Pushed by davidedmundson into branch 'master'.

Don't mark .desktop file as executable

M  +2    -2    klipper/CMakeLists.txt

https://invent.kde.org/plasma/plasma-workspace/commit/1d09af418e6fda8f72336ca5eeb8dc6db3e8cb06