KDE and the executable bit

Hans Meine hans_meine at gmx.net
Mon Jan 28 11:56:38 GMT 2008

Am Montag, 28. Januar 2008 12:43:50 schrieb Andras Mantia:
> On Monday 28 January 2008, David Faure wrote:
> > What should happen if you give +x to a JPG file for instance?

<shameless plug>
Use lowerfn for such files from CDs/USB sticks: 

> Ok, you have a point, but you know, there are file managers in the shell
> (since ages), which execute JPG's on click/enter. ;)
>  So it means that if a mimetype (extension) can be executable and text,
> like in the case of script, we must add that it inherits
> application/x-executable, right?

IMO, it's OK to have only the safe option work by default.

>  I believe some mimetypes miss this, altough they could be executed,
> like the PHP mime type.

Note that you can always run such scripts using Ctrl-E (Extras/Run Command..).

Ciao, /  /
    /  / ANS

More information about the kde-core-devel mailing list