Bug 167015

Summary: Scripts are opened in text editor instead of being executed.
Product: [Unmaintained] kdelibs Reporter: Benno Dielmann <kde>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: kishore96
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Benno Dielmann 2008-07-19 19:52:26 UTC
Version:            (using KDE 4.0.98)
Installed from:    Ubuntu Packages

Dolphin doesn't execute scripts (e.g. python scripts) which are set executable when they are clicked with the left mouse button. Instead they are opened in an editor (or whatever is configured for the respective file type). 

IMHO, executing executable script files should be the default left click action, since one can still open it in an editor via the right mouse button menu. The other way round isn't possible.
Comment 1 Christophe Marin 2008-07-20 14:39:17 UTC
Changing title and severity.

IMHO, this should never happen for obvious security reasons :)
Comment 2 David Faure 2008-07-23 13:52:27 UTC
Well it did happen in KDE3, and it makes perfect sense to have that feature. For instance I set up some scripts for my wife (like a "svn update and compile" script, and she would just click on the script in konqueror to run it).

I guess if we disable this explicitely [I don't know why it wouldn't work right now, I guess it's specific to python but shell works, so it's just a mimetype check issue in KRun?], then we'd all have to create desktop files with Exec lines for this purpose, but then nothing is gained from a security point of view, just more cumbersome to set up...
Comment 3 Kishore Gopalakrishnan 2022-09-25 13:07:14 UTC
This can now be configured in Settings > configure Dolphin > General > confirmation> when opening executable files.