Re:Traitor: Linux privilege escalation made easy
by tinco on Monday February 22, 2021 @04:47PM
(#26231107)
They didn't consider it a cache, they consider your gopath to be the place where you put all source code, your own, and that of all your dependencies.
Re:Traitor: Linux privilege escalation made easy
by colejohnson66 on Monday February 22, 2021 @05:51PM
(#26231755)
That seems... a bit much IMO. I personally prefer containerizing things. Such as Node.js’ way with node_modules. Then I can put my project wherever I want. Downloaded dependencies can also go in ~/.cache because I don’t plan on editing them.
I think a lot of it is just growing pains, but it still feels clunky. My system has a .cache folder that everything already uses, why does Go need a special cache?