Previous 1 2 3 4 5 Next 71 Replies Latest reply: Apr 10, 2013 4:05 AM by mikeamy Go to original post
  • febeling Level 1 (0 points)

    This problem can be especially confusing when working with a disk image. It looks like the com.apple.quarantine attribute is being inherited from the disk image file to the files inside.

  • HumbiJ Level 1 (0 points)

    Has anyone got skype so they can give me a step by step way to do this if so please add me, I am 12 so dont not add me cause of my age i just really need help with this. My skype, craig.burden3

  • dselevan Level 1 (0 points)

    I could use some help with a similar error. I'm not a programmer. I installed VirtualBox, and decided to go with Parallels. When I double click VirtualBox_Uninstall.tool, I get:

    Last login: Thu Oct 11 07:53:04 on console

    /Volumes/VirtualBox/VirtualBox_Uninstall.tool ; exit;

    davids-iMac:~ david seln$ /Volumes/VirtualBox/VirtualBox_Uninstall.tool ; exit;

    -bash: /Volumes/VirtualBox/VirtualBox_Uninstall.tool: /bin/sh: bad interpreter: Operation not permitted

    logout

     

     

    [Process completed]

     

    Any ideas?

  • VikingOSX Level 6 (15,803 points)

    From our recent conversation, i know you have resolved the VirtualBox removal issue. Should you have a future bad interpreter: Operation not permitted issue, the following link has a solution that works for that error. It is similar to Linc's Find syntax earlier in this post.

  • marbles1 Level 1 (0 points)

    Got the same error message. A piece of sell script used to run well could not run any more after I modified with it with textEdit.

     

    I open the file with pico, and save and exit. Then it works again.

  • VikingOSX Level 6 (15,803 points)

    TextEdit is not a true code editor, and in your case, may add undesireable attributes to your code.

     

    Pico, vi, vim, Sublime Text 2, Chocolate, Textmate, Xcode editor, and others treat code as code, hence your experience with Pico.

  • crjohnson Level 1 (15 points)

    VikingOSX wrote:

     

    TextEdit is not a true code editor, and in your case, may add undesireable attributes to your code.

     

    Pico, vi, vim, Sublime Text 2, Chocolate, Textmate, Xcode editor, and others treat code as code, hence your experience with Pico.

    actually if you know how to use it.. it is a true text editor and will not add anything weird.

     

    The errors here have nothing to do with the file itself, but Gatekeeper.

  • BobHarris Level 6 (17,699 points)

    If you really want to use a GUI text editor, then download the free TextWrangler.

    <http://www.macupdate.com/info.php/id/11009/textwrangler>

  • R3TR0 Level 1 (10 points)

    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:

     

    http://stackoverflow.com/questions/9952612/mac-os-usr-bin-env-bad-interpreter-op eration-not-permitted

     

    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

  • alibaba0 Level 1 (0 points)

    Thank you so much febeling! I was going mad.

  • pklunavat Level 1 (0 points)

      this is the one that got me past my permission denied.  this was the one.  the article is genius giving options of de-quaratining a file, folder or system.  superb job!  onwards and upwards... 

  • mikeamy Level 1 (0 points)

    I had this problem too, appearing on 10.8.3

     

    It appeared after I had some FS damage, I think due to VirtualBox creating a VDI badly. I repaired the FS and the permissions. After that I saw this error when trying to run scripts that I work on inside a HFS+ case sensitive disk image. The same problem was happening for very simple scripts I created after the problem started.

     

    None of the suggestions I have read in this thread resolved the issue. What eventually resolved it for me was to create a new disk image, copy the files across, and then, for each script, to do:

     

    cat script > new_script

    rm script

    chmod +x new_script

    mv new_script script

     

    Hours were wasted figuring out this problem.

Previous 1 2 3 4 5 Next