Q: bad interpreter: Operation not permitted on Lion 10.7.3
My unix scripts are now dead, after the upgrade to 10.7.3. A typical error message is /bin/bash: bad interpreter: Operation not permitted Googling this issue shows other people are having build scripts fail and are fixing this by renaming links to libraries. My scripts are simple, they just run an executable, or used to... something like this:
#! /bin/bash
./myprogram << EOF
$1
EOF
MacPlus, SE30, iMacG3, EmacG4, PB G4, iMacG5, PowerMacG5, iMac Intel, Mac OS X (10.7.2)
Posted on Feb 13, 2012 4:00 PM
anticro wrote:
All these answers are useless spam! The only thing that says what's really going on and a solution that works is described here:
Short: run this command and you should be fine.
xattr -d com.apple.quarantine <YOUR FILE HERE>
thank u so mutch, your solution work and save my time, and of cource i completely agree with u: about 4 pages of useless spam
Posted on Nov 9, 2012 3:21 PM