KDE and the executable bit

Andras Mantia amantia at kde.org
Mon Jan 28 11:43:50 GMT 2008


On Monday 28 January 2008, David Faure wrote:
> What should happen if you give +x to a JPG file for instance?

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? And in such case if the exec bit is 
set, it will run the script, if it is not, it will open in the 
associated aplication, right?
 I believe some mimetypes miss this, altough they could be executed, 
like the PHP mime type.

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080128/98540257/attachment.sig>


More information about the kde-core-devel mailing list