I'm unable to run an executable of this kind: $ file foo foo: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=2c65c1c5fa4182783066b29fca5a7362eb95c325, not stripped After a bit of research I found the same problem for the gnome file manager: https://bugzilla.gnome.org/show_bug.cgi?id=737849 Reproducible: Always Steps to Reproduce: 1. download from the internet a tar with an executable 2. extract the files from the archive 3. try to execute the file, and fail
Thanks for the bug report. It's not a Dolphin issue - we use KIO for launching applications. I can reproduce the same behavior in FolderView.
This is https://bugs.freedesktop.org/show_bug.cgi?id=97226
openSUSE is going to adopt distro-wide PIE soon, which means that KRun will break all over the place. The upstream report in FDO seems dead, as well. Short of shoehorning the wrong MIME type in KRun, what else can be done?
Git commit 4122b52fee540f6b7cdd8fde2f55e2f7c2673b1a by Fabian Vogt. Committed on 29/05/2017 at 11:38. Pushed by fvogt into branch 'master'. Identify PIE binaries (application/x-sharedlib) as executable files Summary: x86_64 binaries compiled with PIE are just shared objects with the executable bit set. Without this patch, kio does not know that they can be executed as well, causing "kioclient5 exec" to ask for an application that can handle application/x-sharedlib. Test Plan: Can run applications fine again. Reviewers: dfaure, aacid Reviewed By: dfaure Subscribers: asturmlechner, #frameworks Tags: #frameworks Differential Revision: https://phabricator.kde.org/D6002 M +4 -1 src/widgets/krun.cpp M +1 -1 src/widgets/krun.h https://commits.kde.org/kio/4122b52fee540f6b7cdd8fde2f55e2f7c2673b1a
*** Bug 381412 has been marked as a duplicate of this bug. ***