It's a bit harder...
Posted Sep 25, 2003 12:51 UTC (Thu) by
dion (subscriber, #2764)
In reply to:
A different kind of bad week by smoogen
Parent article:
A different kind of bad week
I think the situation on Linux is a bit different, because programs need more than just a magic filename to be executed, they need the execution bit to be set and it isn't by default.
This means that if a user clicks a file named loveletter.jpeg.exe then all that happens is that they are told that no program is available for viewing .exe files.
The user would need to set the execute bit to actually run the file and the clueless user will never have done that before because it's something that only programmers do (when having created a script for example), everyone else just installs software from an rpm or using make install.
... but it depends on what the GUI actually does to view/execute file, if it's at all sane then it shouldn't run code from files without the execute bit set, no matter what the last part of the filename is.
(
Log in to post comments)