Bug 407941

Summary: Unable to make the service... executable, aborting execution trying to run AppImage
Product: [KDE Neon] neon Reporter: probono <probono>
Component: Packages Unstable EditionAssignee: Neon Bugs <neon-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: azubieta90, bryantdl7, jr, nate, neon-bugs-null, sitter, theassassin
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: If you do not trust this program, click cancel
Unable to make the service executable, aborting execution

Description probono 2019-05-25 13:50:10 UTC
Created attachment 120306 [details]
If you do not trust this program, click cancel

SUMMARY

Getting "Unable to make the service... executable, aborting execution" when trying to run AppImage from the menu

STEPS TO REPRODUCE

1. Download and run neon-unstable-20190523-0949.iso
2. Install and run the appimaged daemon (appimaged, continuous build (commit 660c916), build 65 built on 2018-12-06 18:38:08 UTC)
3. Try to run an application from the FAT32 partition /isodevice/Applications/ using the entry in the start menu (this partition is read-only and owned by root, but the application does have the executable bit set)

OBSERVED RESULT

Dialog box "If you do not trust this program, click cancel", followed by an error "Unable to make the service... executable, aborting execution"

me@host:~$ ls -lh /isodevice/Applications/Firefox-66.0.5.glibc2.4-x86_64.AppImage 
-rwxr-xr-x 1 root root 70M May 25 06:54 /isodevice/Applications/Firefox-66.0.5.glibc2.4-x86_64.AppImage

me@host:~$ ls -lh /home/me/.local/share/applications/appimagekit_6cb66ed35d36fc0a8e072fd5d0acc2d1-firefox.desktop 
-rwxr-xr-x 1 me me 735 May 25 13:45 /home/me/.local/share/applications/appimagekit_6cb66ed35d36fc0a8e072fd5d0acc2d1-firefox.desktop

EXPECTED RESULT

Nothing needs to be made executable because as one can see, the application is already executable

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: neon-unstable-20190523-0949.iso
(available in About System)
KDE Plasma Version: 5.16.80
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION

/isodevice/ is where the system mounts the partition from which the Live ISO is booted. In my case, this is a FAT32 partition.
Comment 1 probono 2019-05-25 13:50:47 UTC
Created attachment 120307 [details]
Unable to make the service executable, aborting execution
Comment 2 Nate Graham 2019-05-28 13:26:39 UTC
Are you sure this could be related to the Neon packaging? Seems more like a code issue TBH.
Comment 3 Harald Sitter 2019-06-06 14:02:09 UTC
for some context: from what I looked up just now this is the authorization system in KIO

https://lxr.kde.org/source/frameworks/kio/src/widgets/krun.cpp#0774

the very first check there, which would eventually go into makeServiceExectuable in an attempt to a) authorize a desktop file and if authorized b) make it exectuable so it works from there on out

authorization is https://lxr.kde.org/source/frameworks/kconfig/src/core/kdesktopfile.cpp#0110
which is true if the file is in a well known XDG path or +x
Comment 4 BRYANTDL7 2025-09-09 16:06:41 UTC
This ticket has been archived due to the age of this request, in order to keep currently present issues at the forefront for proper resolution. If this issue is still present, please reopen this ticket and provide additional details related to the request.