latley all my shell scripts broke and they do not run anymore. I suspect 10.7.3 to broke all the scripts. My scripts used to work fine and I had no issues. I guess it started after updateing to 10.7.3 and now I got a error as following:
-bash: ./CamSendEmail.sh: /bin/bash: bad interpreter: Operation not permitted
This is usually as the first line in my script is and ever was #!/bin/bash. If I do just remove the line, I am getting an error as following:
-bash: ./CamSendEmail.sh: Operation not permitted
Please note, that the scripts name is "CamSendEmail.sh" and that this is just an example. All my scripts are affected. At this point I need to say again, that the scripts work basicly fine till a short time ago.
Of cause, the user who runs the scripts has the permission to run the script. It is a standard user and it ever was. I did not touch the scripts nor their permissions. The only change I am aware of is updating to 10.7.3.
I did a test and cut'n'pasted the entire content of a not running script into a blank new file. The new file did work! The only differences between those 2 files are now some file system permission, I do actually not know yet:
-rwxr--r--+ 1 james staff 265 Feb 13 19:50 CamSendEmail.sh
-rwxr--r--@ 1 james staff 265 Feb 13 19:40 CamSendEmail.sh.orig
Note, that *orig does not work, while *sh does. I could not find an information about the meaning of a + and the @ in the output of ls -al. But whatever it is, I wonder how this can be influenced by 10.7.3 ...(?) Can anyone shade a little light on that?
I will keep on searching for information about + an @, but since this is somehow urgent to me, I decided to first start this posting ...
Thx for your help on that!