From kde-core-devel Mon Jan 28 11:56:38 2008 From: Hans Meine Date: Mon, 28 Jan 2008 11:56:38 +0000 To: kde-core-devel Subject: Re: KDE and the executable bit Message-Id: <200801281256.38614.hans_meine () gmx ! net> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=120152144732320 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? Use lowerfn for such files from CDs/USB sticks: http://kogs-www.informatik.uni-hamburg.de/~meine/scripts#lowerfn > 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