[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDE and the executable bit
From:       Hans Meine <hans_meine () gmx ! net>
Date:       2008-01-28 11:56:38
Message-ID: 200801281256.38614.hans_meine () gmx ! net
[Download RAW message or body]

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: 
http://kogs-www.informatik.uni-hamburg.de/~meine/scripts#lowerfn
</sp>

> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic