go install ./... behavior on 1.15.2

84 views
Skip to first unread message

Benedicto Franco Jr

unread,
Oct 25, 2020, 3:49:51 PM10/25/20
to golang-nuts
Hi all,

I'm trying to upgrade from go 1.14.6 to 1.15.2 (soon to 1.15.3).
I have a folder under $GOPATH not related to any golang project that has permissions (700) only to the owner/root user (I'm using linux/centos-8) and when I issue a go install ./... on my project root folder ($GOPATH/src/github.com/<project>), I get an error message like this:

pattern ./...: open ${GOPATH}/<restricted folder>: permission denied

Any idea?

Thanks!
Reply all
Reply to author
Forward
0 new messages