You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Security: ignore file ownership when extracting Go
Certain Go tarballs specified that some files, such as the `go` binary,
were supposed to be owned by a non-root user. When running as root,
dp-golang extracted those files and preserved ownership, which lead to
those files being writable by a non-root user.
At the very least, this affected Go tarballs on macOS before 1.21.
This switches to extracting the tarballs with `tar`’s `--no-same-owner`
and `--no-same-permissions` flags.
0 commit comments