-
Notifications
You must be signed in to change notification settings - Fork 20
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
Mention how to apply xattr to downloaded GraalVM #54
Comments
Actually the above is wrong, you should (according to a GraalVM slack user):
and then extract the file. |
According to an online xattr man page for macos:
So I guess this gets rid of the quarantine attribute but any others as well. No clue whether there are usually any other ones. |
@sogaiu Perhaps it works like this, but I'm not sure: When extracting a tar.gz the files inside the tar.gz inherit the attributes from the tar.gz file? How else can macOS place these attributes on files inside a tar.gz file? Does it process the tar.gz file while downloading and rewrites all files inside of it? Not sure! |
It seems that's how it works if the information on this website is correct: |
Nice find! |
Normally I set
GRAALVM_HOME
to my downloaded GraalVM installation which currently looks like:/Users/borkdude/Downloads/graalvm-ce-java11-21.2.0/Contents/Home
. Since Big Sur I need to applysudo xattr -r -d com.apple.quarantine
to the GraalVM installation to remove the quarantine attribute. But this does not work when you pass includeContents/Home
: pass the part without it, like:or
The text was updated successfully, but these errors were encountered: