Comment on macOS gatekeeper and file quarantine bypassparentComments−setr5yProbably the simplest thing then would be to alias brew install to something like spctl —master-disable; brew install $1; spctl —master-enable−Wowfunhappy5y`spctl --master-disable` requires root permissions (sudo).You could edit sudoers so the command doesn't require a password. But really, at that point I'd just leave Gatekeeper off.
Comments
Probably the simplest thing then would be to alias brew install to something like spctl —master-disable; brew install $1; spctl —master-enable
`spctl --master-disable` requires root permissions (sudo).
You could edit sudoers so the command doesn't require a password. But really, at that point I'd just leave Gatekeeper off.