Found what causes this. An extended Apple attribute apple.com.quarantine. 
Set it off, then need to set off some other utilities and now it is done.

вторник, 8 декабря 2020 г. в 18:07:17 UTC+3, Denis Cheremisov: 

> Hi! I installed Go via sources
>
> $ go version
> go version devel +9c91cab0da Tue Dec 8 01:46:45 2020 +0000 darwin/arm64
>
> got better performance than I had with my aging Core i5 4670k, etc, this 
> was expectable, no surprises here.
>
> But, there's an issue. When I call `go get`, `go install`, etc via 
> `exec.Command` I get this error:
>
> self check: update pedro-miguel: run go get 
> gitlab.stageoffice.ru/UCS-TOOLS/pedro-miguel: fork/exec 
> /usr/local/go/bin/go: operation not permitted
>
> What may cause this? Launching other utilities works fine:
>
> package main
>
> import (
>     "os"
>     "os/exec"
> )
>
> func main() {
>     cmd := exec.Command("echo", "hello!")
>     cmd.Stdout = os.Stdout
>     if err := cmd.Run(); err != nil {
>         panic(err)
>     }
> }
>
> PS pedro-miguel named after a cascade of locks in Panama channel.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/d9945b23-4178-4062-9283-fe0115dcbabbn%40googlegroups.com.

Reply via email to