dflemstr
It's a ball.
I actually don't think that this discussion is about executables any longer. It seems to have glided to a generic discussion about the MIME vs extension system. Is this really relevant any longer? Since the Pandora uses Ångström, it WILL use MIME-types (or libmagic) wether we like it or not; if someone doesn't make a new file manager just to support file extensions, of course.
If this discussion goes on, it will only be idle talk, since it won't have a 'goal' of sorts.
But sure, this might be fun to discuss.
And to "reply" to some of the things that have been said so far:
Linux is generally seen as substantially more secure than the Redmond OS (No flamewars, please. Just stating what the general opinion seems to be.)
Some ways this shows is through the file handling security features that exist.
For example: An executable in Linux CAN NOT HAVE an icon (that is custom, I mean; of course executables in general have icons), so "veryfunstory.txt" won't work as a trojan. Since everything is recognized by using libmagic, it is almost guaranteed that the file contains what the icon says it does. As opposed to the extension system.
Also, an executable cannot be executed if it doesn't have the executable bit set, so viruses (viri?) in disguise as something else can't be executed by accident. No worries
And yes, the PackageKit thing that I mentioned will of course ask before installing software.
EDIT:
"I know Linux will run an executable regardless of file extension, but thats more of a casual check of the file header ("does first line contain '#!'" and "are the first four bytes 7F 45 4C 46)"
That's libmagic at work, right there.
If this discussion goes on, it will only be idle talk, since it won't have a 'goal' of sorts.
But sure, this might be fun to discuss.
And to "reply" to some of the things that have been said so far:
Linux is generally seen as substantially more secure than the Redmond OS (No flamewars, please. Just stating what the general opinion seems to be.)
Some ways this shows is through the file handling security features that exist.
For example: An executable in Linux CAN NOT HAVE an icon (that is custom, I mean; of course executables in general have icons), so "veryfunstory.txt" won't work as a trojan. Since everything is recognized by using libmagic, it is almost guaranteed that the file contains what the icon says it does. As opposed to the extension system.
Also, an executable cannot be executed if it doesn't have the executable bit set, so viruses (viri?) in disguise as something else can't be executed by accident. No worries
And yes, the PackageKit thing that I mentioned will of course ask before installing software.
EDIT:
"I know Linux will run an executable regardless of file extension, but thats more of a casual check of the file header ("does first line contain '#!'" and "are the first four bytes 7F 45 4C 46)"
That's libmagic at work, right there.
Last edited by a moderator: