Yes, I know that I can make a file non executable by setting appropriate permission bits on that file. What I want to do is, making all the files with a certain extension non-executable, So that Nautilus will prompt. The specific extension which I have in my mind is .txt
.
In summary, How to instruct Ubuntu not to execute any files with .txt
extension?
Note: There is a similar feature in Windows 7 as far as I know.