From kde-core-devel Mon Jan 28 11:43:50 2008 From: Andras Mantia Date: Mon, 28 Jan 2008 11:43:50 +0000 To: kde-core-devel Subject: Re: KDE and the executable bit Message-Id: <200801281343.55678.amantia () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=120152069131247 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart1355177.e42NYQBHdm" --nextPart1355177.e42NYQBHdm Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 (since ages), which execute JPG's on click/enter. ;) So it means that if a mimetype (extension) can be executable and text,=20 like in the case of script, we must add that it inherits=20 application/x-executable, right? And in such case if the exec bit is=20 set, it will run the script, if it is not, it will open in the=20 associated aplication, right? I believe some mimetypes miss this, altough they could be executed,=20 like the PHP mime type. Andras =2D-=20 Quanta Plus developer - http://quanta.kdewebdev.org K Desktop Environment - http://www.kde.org --nextPart1355177.e42NYQBHdm Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQBHnb/7TQdfac6L/08RAsyoAJ9SWL+Z4B11L6sba+AJJpMcqeAoYQCfZOqv oz0WQTvR0oRc1HY9X6JbCXQ= =QR9X -----END PGP SIGNATURE----- --nextPart1355177.e42NYQBHdm--