In pcmanfm 0.9.x double-clicking (or just clicking, depending on your options) on ANY file with the exec bit set will attempt to launch that file.
This is something of a nuisance, because:
- FAT-formatted USB sticks make all files executable
- pcmanfm currently has NO way to recursively enable or disable the exec bit for files in inside a directory
So if you transfer e.g. a bunch of documents from a USB stick and then click on one, it won't actually open; you have to use the right-click menu. And if you try to recursively chmod -x all of the files in whatever directory you put them in, you'll discover that pcmanfm can't do that, period.
Personally I would suggest tackling both ends of this problem:
- For security reasons, the majority of filetypes should never be executed, in case they're not what they appear to be. Clicking on a .jpg file should always open it in something, for instance, and never try to run it, because it might actually be a binary that someone stuck ".jpg" on the end of.
- On the other hand, a way to recursively chmod -x all the files in a directory (and directories contained in that directory) is very badly needed IMHO.
Minor issue with files flagged as executable
-
- Posts: 7
- Joined: Thu Oct 23, 2008 1:23 am