MacOS: "serial" binary has "Mark of the Web" set. Will not run #149
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Pull requests are welcome on this issue
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.
The text was updated successfully, but these errors were encountered: