Skip to content

x/build: unify gomote push and gomote ssh users #23043

@randall77

Description

@randall77

When I "gomote push" to a gomote host, it writes all of the files and directories it copies over as user "root".
When I "gomote ssh", it logs me in as "gopher". At that point, I don't have permissions to modify any of the files or directories, so things like all.bash don't work when it tries to write anything.

$ ./all.bash
Building Go cmd/dist using /tmp/workdir/go1.4.
go install _/tmp/workdir/go/src/cmd/dist: open cmd/dist/dist: permission denied

At least, this is true on openbsd-amd64.

It would also be nice to set GOROOT_BOOTSTRAP to /tmp/workdir/go1.4 when ssh-ing in.
But only if it was already gomote pushed?

@bradfitz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Buildersx/build issues (builders, bots, dashboards)NeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions