Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
go1.9
go-1.5-install-dont-reinstall-stdlibs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File go-1.5-install-dont-reinstall-stdlibs.patch of Package go1.9
diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go index 07aa3ff..3f4836b 100644 --- a/src/cmd/go/internal/load/pkg.go +++ b/src/cmd/go/internal/load/pkg.go @@ -1457,6 +1457,13 @@ func isStale(p *Package) (bool, string) { return false, "standard package in Go release distribution" } + // openSUSE bnc#776058 + // Only root user can reinstall a std library from a dependancy, all other + // users should *never* have to do this. + if os.Getuid() != 0 && p.Standard { + return false, "only root can reinstall a std library from a dependency" + } + // Time-based staleness. built := fi.ModTime()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor