View unanswered posts | View active topics It is currently Tue May 21, 2013 11:08 pm



Reply to topic  [ 1 post ] 
 Lion 10.7.3 bug affects shell script executables 
Author Message
User avatar

Joined: Nov 18, 2008
Posts: 1721
Location: Berkeley, CA
Post Lion 10.7.3 bug affects shell script executables
After suddenly running into bad interpreter: Operation not permitted errors trying to run a shell script, I uncovered the following on the Apple Support Communities forums
    ...there appears to be a bug in the latest version of OS X Lion in which the quarantine flag is attached to existing files on the system, preventing some code such as user scripts from being executed. If you create shell scripts, for instance, then opening them in TextEdit and making changes to them will result in them no longer being executable and will result in an "Operation not permitted" error in the Terminal.
That was exactly what I had done, I opened a shell script with TextEdit just to copy part of it to send in an email.

If you run into this problem, see this link for the fix.


Mon Mar 12, 2012 7:59 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.