Some of the text files on this partition have executable permissions. Consequently, when I double-click one of these files in Nemo, I get a popup:
I can click "Display" to open it up in my chosen text editor. I'd rather bypass that altogether and just double-click the file to open the text editor.Do you want to run file.txt, or display its contents?
"file.txt" is an executable text file.
Run in Terminal, Display, Cancel, Run
I have tried removing the executable permissions in terminal using
Code: Select all
chmod u-x file.txt
chmod g-x file.txt
I have read that chmod doesn't work on NTFS partitions. Is there an alternate way of removing the executable permissions on these files?
Thanks.