Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unquarantine clickhouse binary on mac #5223

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

david-crespo
Copy link
Contributor

After #5127 (I assume, because this problem came up immediately after that) macOS Gatekeeper is putting the clickhouse binary in quarantine after download, which means we can't execute it unless we take it out of quarantine. This is apparently a new thing, as this doc about how to do that was only added Jan 9.

Here I am doing it in the simplest way possible: if mac, then remove quarantine attr. If anyone has a better way, I'm all ears.

Copy link
Contributor

@sunshowers sunshowers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

As mentioned in #oxide-control-plane, it's definitely quite weird that this (or homebrew for that matter) is hitting the quarantine bit. Generally only files downloaded via a web browser are supposed to trigger quarantining -- untarred files aren't supposed to. But figuring that out's for a future time, and there's nothing wrong with this.

@david-crespo david-crespo enabled auto-merge (squash) March 7, 2024 21:11
@david-crespo david-crespo merged commit 358eec4 into main Mar 7, 2024
18 of 20 checks passed
@david-crespo david-crespo deleted the clickhouse-macos-quarantine branch March 7, 2024 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants