Skip to main content
Question

Homebrew deployed apps through Self Service won't open. Gatekeeper.

  • August 5, 2021
  • 1 reply
  • 25 views

Forum|alt.badge.img+4

Hello Comrades,

 

I'm trying to deploy apps using homebrew due to its "simplicity" but I've been cornered.

Looks like gatekeeper won't let me open these apps because they were not installed from the app store (I was taught that all apps installed via self service would open). *No, I can't move the gatekeeper settings due to security reasons.

Im using the following script to install Homebrew --> https://github.com/Honestpuck/homebrew.sh/blob/master/homebrew-3.3.sh

And this one for installing apps (Replacing "$4" for app name --> https://github.com/Honestpuck/homebrew.sh/blob/master/brew-install-program.sh 

 

- Should I try to install these apps as the "jamf pro" hidden user?

- Is there a way to set that everything that gets installed through self service can be opened?

 

Regards!

1 reply

Forum|alt.badge.img+6
  • Contributor
  • August 6, 2021

Hi,

try this:

CURRENT_USER=$3 # remove brew cask apps from quarantine xattr -d com.apple.quarantine /Users/$CURRENT_USER/Applications/Google\\ Chrome.app || true