Skip to content

fix: strip macOS quarantine attribute from otel-helper shell wrapper#243

Open
jphuynh wants to merge 1 commit intoaws-solutions-library-samples:mainfrom
jphuynh:fix-otel-helper-quarantine
Open

fix: strip macOS quarantine attribute from otel-helper shell wrapper#243
jphuynh wants to merge 1 commit intoaws-solutions-library-samples:mainfrom
jphuynh:fix-otel-helper-quarantine

Conversation

@jphuynh
Copy link
Copy Markdown

@jphuynh jphuynh commented Apr 10, 2026

xattr -d com.apple.quarantine was only applied to otel-helper-bin but not to the otel-helper shell wrapper copied alongside it. macOS propagates the quarantine flag to all downloaded files, causing the "Apple could not verify" Gatekeeper warning when otel-helper is invoked.

This is a follow up from the previous PR: #235

Tested on macOS successfully

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

xattr -d com.apple.quarantine was only applied to otel-helper-bin but not to the otel-helper shell wrapper copied alongside it.
macOS propagates the quarantine flag to all downloaded files, causing the "Apple could not verify" Gatekeeper warning when otel-helper is invoked.

This is a follow up from the previous PR: aws-solutions-library-samples#235

Tested on macOS successfully
@jphuynh jphuynh requested a review from a team as a code owner April 10, 2026 09:53
@jphuynh
Copy link
Copy Markdown
Author

jphuynh commented Apr 10, 2026

Screenshot 2026-04-10 at 10 53 41

@scouturier @dineshSajwan This is a follow up from: #235

@scouturier
Copy link
Copy Markdown
Contributor

Thanks @jphuynh ! I have reviewed it and it LGTM

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