12 Replies Latest reply: May 26, 2013 9:33 AM by Linc Davis
ravs78 Level 1 Level 1 (0 points)

Hi,

 

I've configured the gatekeeper to open apps downloaded from anywhere, howeverm everytime I open any app downloaded form internet it always asks the Acept/Deny question, it seems like it's bypassing the System Preference Gatekeeper settings.

 

What can I check?

 

Cheers,


Mac mini (Late 2012), OS X Mountain Lion (10.8.3)
  • 1. Re: Gatekeeper Open Apps Downloaded from anywhere issue
    BDAqua Level 10 Level 10 (116,480 points)

    Hi, did you unlock the lock when you chose that setting, then lock it after changing it?

     

    http://rogueamoeba.com/support/knowledgebase/?showArticle=MiscDeveloperID

     

    Then there's a Terminal method to clear an App, #2 here...

     

    http://www.bu.edu/infosec/howtos/bypass-gatekeeper-safely/

  • 2. Re: Gatekeeper Open Apps Downloaded from anywhere issue
    Linc Davis Level 10 Level 10 (118,280 points)

    This can happen because an application has an invalid code signature, among other reasons. Follow the instructions linked below under the heading "How to open an app from a unidentified developer and exempt it from Gatekeeper."

     

    OS X: About Gatekeeper

  • 3. Re: Gatekeeper Open Apps Downloaded from anywhere issue
    ravs78 Level 1 Level 1 (0 points)

    Hi all,

     

    Thanks.

    I've already tried the System Preference settings and still every time I open the application, I have to "accept" the Gatekeeper warning message.

     

    FYI, it happens the same when the system is asking to accept or deny incoming connections, every time I open a an app, the system asks to accept/deny incoming connections. The firewall is properly set to accept incoming connections for the app.

     

    I've repaired disk permissions as well, and nothing.

     

    I've tried the Terminal method BDAqua suggested but I get the message:

     

    "xattr: No such file: application_name"

     

    :-/

     

    I do not know if the following has something to do with this issue: I've once changed the user account name... of course, this new account has admin rights.

     

    Cheers,

  • 4. Re: Gatekeeper Open Apps Downloaded from anywhere issue
    Linc Davis Level 10 Level 10 (118,280 points)

    The database in which Gatekeeper stores its settings may be corrupt. This procedure will reset all Gatekeeper settings to their defaults. Any changes that you made will be reverted, but can be restored from backup if there's no improvement.

    Back up all data.

     

    If you have more than one user account, you must be logged in as an administrator to carry out these instructions.

     

    Triple-click anywhere in the line below to select it:

    sudo cp /var/db/.SystemPolicy-default /var/db/SystemPolicy

     

    Copy the selected text to the Clipboard (command-C).

     

     

    Launch the Terminal application in any of the following ways:

     

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

     

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

     

    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

     

    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. If you don’t have a login password, you’ll need to set one before you can run the command. You may get a one-time warning not to screw up. Confirm. You don't need to post the warning. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

    Quit Terminal, reboot, and test.

  • 5. Re: Gatekeeper Open Apps Downloaded from anywhere issue
    ravs78 Level 1 Level 1 (0 points)

    Hi...

    Thanks... but it did not work :-/

     

    Cheers,

  • 6. Re: Gatekeeper Open Apps Downloaded from anywhere issue
    Linc Davis Level 10 Level 10 (118,280 points)

    Are you installing the applications in the Applications folder, or are you running them from a disk image?

  • 7. Re: Gatekeeper Open Apps Downloaded from anywhere issue
    ravs78 Level 1 Level 1 (0 points)

    Re,

     

    All installed appliactions are on the Applications folder.

     

    The samething happens with the Firewall setting, even if the application (XBMC) is set to allow incomming connections, and the system alsways asks the questino.

     

    :-/

  • 8. Re: Gatekeeper Open Apps Downloaded from anywhere issue
    Linc Davis Level 10 Level 10 (118,280 points)

    Triple-click anywhere in the line below to select it:

    codesign -vv /A*/XBMC* | open -f -a TextEdit

      

    Copy the selected text to the Clipboard (command-C).

     

    Paste into the Terminal window (command-V).

     

    A TextEdit window will open with the output of the command. Post the contents of that window, if any — the text, please, not a screenshot. The title of the window doesn't matter, and you don't need to post that.

  • 9. Re: Gatekeeper Open Apps Downloaded from anywhere issue
    ravs78 Level 1 Level 1 (0 points)

    here it is...

     

    resource added: /Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.simplejson/ lib/simplejson/__init__.pyc

    resource added: /Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.simplejson/ lib/simplejson/decoder.pyc

    resource added: /Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.simplejson/ lib/simplejson/encoder.pyc

    resource added: /Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.simplejson/ lib/simplejson/scanner.pyc

    resource added: /Applications/XBMC.app/Contents/Resources/XBMC/addons/weather.wunderground/reso urces/lib/utilities.pyc

    resource added: /Applications/XBMC.app/Contents/Resources/XBMC/addons/weather.wunderground/reso urces/lib/wunderground/wunderground.pyc

     

    again... thanks a lot.

     

    The firewall issue is with XBMC.

    The Gatekeeper one is with Transmission (it does not happend with VLN for instance)

     

    Cheers,

     

    -- rv

  • 10. Re: Gatekeeper Open Apps Downloaded from anywhere issue
    Linc Davis Level 10 Level 10 (118,280 points)

    In order for the application to be recognized by the firewall, it has to be codesigned. If it's codesigned by the developer with a certificate issued by Apple, the signature will be recognized automatically. Otherwise the signature has to be added by the firewall itself.

     

    This particular application has an invalid signature because the compiled Python modules have changed when executed. Python is known for doing that. So what you need to do is remove the app from the allowed list and then add it back. That will generate a new signature.

     

    I'm not familiar with Transmission, but something similar is probably happening.

  • 11. Re: Gatekeeper Open Apps Downloaded from anywhere issue
    ravs78 Level 1 Level 1 (0 points)

    Hi...

     

    Thanks again but it's not working.

    XBMC removed and re-added from the Firewall and nothing. It still asks to Accept or Deny incoming conenctions every time.

     

    Concernning Transmission... I just intalled an updated version and the Gatekeeper question is not asked anymore

     

    Do you think XBMC issue could be a similar problem: wait for an updated XBMC version?

     

    Cheers,

     

    -- rv

  • 12. Re: Gatekeeper Open Apps Downloaded from anywhere issue
    Linc Davis Level 10 Level 10 (118,280 points)

    The only thing you can do to stop the warnings about XBMC is to change its ownership to root. You may have to do this with a fresh copy that hasn't already been codelsigned. Select it in the Finder and open the Info window. Click the lock icon on the lower right corner of the window and authenticate. Then, in the Sharing & Permissions section, give "System" read & write privileges and "Everyone" read-only privileges. Select Apply to enclosed items from the popup menu with the gear icon. Close the window and repeat the codesigning procedure.