Recently, I had a problem opening the geth binaries (one of the Ethereum execution clients) on macOS.
After a short internet search, I found it was caused by extended attributes check. The problem like that occurs when the unsigned software is downloaded from the internet, but only using a web browser. When the curl or wget commands are used, there are no extended attributes assigned to the file.
To check if the file has extra attributes, you can run a simple `ls -l` command and look for the `@` character.
> ls -l -rwxr-xr-x@ 1 wawrzek staff 45986920 17 Apr 07:06 gethThe list of attributes can be obtained with the `xattr` command:
> xattr geth com.apple.quarantineThe same command can be used to remove the attribute
> xattr -d com.apple.quarantine gethwhat enables an application to run.
No comments:
Post a Comment