Execute file permission on data files
I'm not much of a terminal/Unix user but I've been looking at some folders and files within my Documents and Movies default directories that are in my OS X home directory. I notice that permissions on my files vary when invoking the ls -l command and looking at the results
I find it difficult to understand if there is any reason if the execute permission makes any difference whatsoever on a data files (ie. movie, Excel doc, .txt file, Word doc, music, picture, etc.). For some reason some of my Excel files will have the following -rwxr-xr-x whereas others will be -rw-r--r-- (the same goes with some movie files, that's as far as I looked). As far as I can tell making changes with Get Info in Finder has no affect on Owner and Group (with regards to execute) and only with Other can you set permissions to "No Access" that will get rid of the execute permission. Of course I can use the chmod command to modify these files, however, my question revolves around the first sentence of this paragraph:
Does the execute permission have any effect on data files and is there any reason to remove such permissions? Without looking at the terminal window it appears OS X from Finder/Get Info only differentiates between read and write.
I imagine the differences I see stem from saving files over many years in various operating systems (Windows, Linux, and Mac OS X) and eventually consolidating them on my Mac. That is just a hunch. If I create a new file in Excel and save it I get the following in Terminal -rw-r--r--@
MacBook Pro, Mac OS X (10.6.7), 4 GB of RAM