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

MacOS: "serial" binary has "Mark of the Web" set. Will not run #149

Closed
jullrich opened this issue Mar 12, 2025 · 5 comments
Closed

MacOS: "serial" binary has "Mark of the Web" set. Will not run #149

jullrich opened this issue Mar 12, 2025 · 5 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Pull requests are welcome on this issue

Comments

@jullrich
Copy link

The "serial" binary downloaded as part of https://dl.google.com/android/repository/platform-tools-latest-darwin.zip has the "mark of the web" quarantine flag set. As a result, it will not execute and instead a security warning is displayed. I recommend adding this line to install-mac.sh after unzipping the file:

xattr -c serial-macos-latest/serial

this will clear any extended attributes like the quarantine attribute.

another option is to only clear the quarantine attribute:

xattr -d com.apple.quarantine serial-macos-latest/serial

After clearing the attribute, the install script runs fine.

@phubbard
Copy link

thank you!

@ardaniel
Copy link

Trying to unset the xattr in question while you're installing rayhunter will give you a bad time that results in a crash, but you can reset the Orbic by holding down Menu + Power and rerun install-mac.sh to finish up.

@cooperq cooperq added the enhancement New feature or request label Mar 13, 2025
@cooperq
Copy link
Collaborator

cooperq commented Mar 13, 2025

I will have to test this on my mac but I would absolutely welcome a pull request on this.

@cooperq cooperq self-assigned this Mar 13, 2025
@cooperq cooperq added good first issue Good for newcomers help wanted Pull requests are welcome on this issue labels Mar 13, 2025
@SethArchambault
Copy link

Ah cool - I got around this by right click on serial and opening, then re-running the install script.

@jimvanderveen
Copy link

Thanks, @SethArchambault your solution worked for me as well.

@cooperq cooperq closed this as completed Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Pull requests are welcome on this issue
Projects
None yet
Development

No branches or pull requests

6 participants