Missing write access for the packages installed using go get in 1.16


When users install my package they run setup.go file which downloads the zip file and sets the path. This worked fine till 1.15
When 1.16 was released I found that when I run setup.go file it returns permission denied while downloading the zip.

go/pkg/mod/github.com/ibmdb$ ls -l
total 0
dr-xr-xr-x 6 rakhil crontab 0 Feb 17 03:59 go_ibm_db@v0.3.0
/go/src/github.com/ibmdb$ ls -l
total 0
drwxr-xr-x 7 rakhil crontab 0 Feb 25 06:35 go_ibm_db

why go has changed the access rights?

Is there any way to overcome this issue?


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.