I use Ubuntu 12.10 and whenever I click on .tex file it says it is an executable file. I wanted to remove this and tried gksu nautilus, but I can't tick off the permission. When I try to remove the tick, it automatically ticks on.
I use Ubuntu 12.10 and whenever I click on .tex file it says it is an executable file. I wanted to remove this and tried gksu nautilus, but I can't tick off the permission. When I try to remove the tick, it automatically ticks on.
Probably you do not have permission for change permissions.
By the way, in Linux any file with the execute permission is considered as executable. No matter if it actually contains anything that could be executed or not.
You can set Nautilus to always open files instead of executing them. To do that just open a file manager window, go to Edit->Preferences, and on the Behavior-tab set it to "View Executable files when they are opened"
Also try to change permissions in terminal using chmod -x
(and if you have no permissions ro change permissions sudo chmod -x
), something like sudo chmod -x file.tex
(here r are saying that file.tex is not executable).