Bug 415360

Summary: Default for executables changes to show an error message
Product: [Applications] dolphin Reporter: Daniel Ziltener <zilti>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: dagobertram, kfm-devel, nate
Priority: NOR    
Version: 19.12.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Ziltener 2019-12-19 16:41:34 UTC
SUMMARY
I updated my Tumbleweed distribution today, and suddenly, when clicking an executable that is marked as such, I start getting error messages saying that the file I clicked is an executable and that it "won't be run for security reasons" ("Es wird aus Sicherheitsgründen nicht gestartet.")

STEPS TO REPRODUCE
Update KDE I guess?

OBSERVED RESULT
I get denied executing the program.

EXPECTED RESULT
The program is run as normal.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE Tumbleweed, Kernel 5.3.12-1-default
(available in About System)
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2019-12-19 20:13:18 UTC
Can you paste the output of `file /path/to/executable`?
Comment 2 Daniel Ziltener 2019-12-19 20:14:58 UTC
Yes, it's: 

./Riot-x86_64.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, stripped
Comment 3 Bug Janitor Service 2020-01-03 04:33:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Christoph Feck 2020-01-09 10:11:48 UTC
New information was added with comment 2; changing status for inspection.
Comment 5 dagobertram 2021-01-10 10:31:18 UTC
(In reply to Daniel Ziltener from comment #0)
> I updated my Tumbleweed distribution today, and suddenly, when clicking an
> executable that is marked as such, I start getting error messages saying
> that the file I clicked is an executable and that it "won't be run for
> security reasons" ("Es wird aus Sicherheitsgründen nicht gestartet.")

I had the same problem on KDE Neon but just found a workaround (trying to translate the entries ...):
1. open Dolphin settings
2. click on the third tab (Bestätigungen/Confirmations) for the first entry on the left pane (Allgemein/General)
3. change the drop-down-menu at the bottom ("Beim Öffnen einer ausführbaren Datei:"/"When opening executable:") to "Immer nachfragen"/"Always ask" or "Skript ausführen"/"Run script" instead of "In Anwendung öffnen"/"Open in application"
4. it should work now

I am not sure what the problem really was here ... "Reset to default settings" also did the job for me.
But what does the "Open in application" really do? Does one need this setting?
I guess this is not really a bug anymore, right?