Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/build/cmd/gomote: OpenBSD workdir is owned by root #23636

Closed
aclements opened this issue Jan 31, 2018 · 2 comments
Closed

x/build/cmd/gomote: OpenBSD workdir is owned by root #23636

aclements opened this issue Jan 31, 2018 · 2 comments
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge
Milestone

Comments

@aclements
Copy link
Member

/tmp/workdir on the openbsd-386-60 gomote (and probably the other openbsd gomotes, but I didn't check) is owned by root and not writable by user gopher. gomote push is able to write the Go tree there, but it's all owned by root, so if you then gomote ssh and run make.bash it will fail because you're logged in as gopher and can't write to the Go tree.

The work-around is to cp -R /tmp/workdir/go $HOME/go and build from gopher's home directory.

/cc @bradfitz @andybons

@gopherbot gopherbot added this to the Unreleased milestone Jan 31, 2018
@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Jan 31, 2018
@bradfitz
Copy link
Contributor

I think the actual problem is that gomote ssh is using a different username on the system than how the builders are configured. It should be sshing in as root instead of gopher I bet.

@FiloSottile
Copy link
Contributor

Duplicate of #23043

@bradfitz bradfitz closed this as completed Feb 8, 2018
@golang golang locked and limited conversation to collaborators Feb 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

4 participants