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

cmd/api: /tmp/gopath-api should have $USER in it #6353

Closed
kortschak opened this issue Sep 10, 2013 · 3 comments
Closed

cmd/api: /tmp/gopath-api should have $USER in it #6353

kortschak opened this issue Sep 10, 2013 · 3 comments

Comments

@kortschak
Copy link
Contributor

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. ./all.bash as one user.
2. ./all.bash in another instance of the go dist as another user.

What is the expected output?
<snip>
ALL TESTS PASSED

---
Installed Go for linux/amd64 in /home/daniel/Development/go
Installed commands in /home/xxxxxx/Development/go/bin
*** You need to add /home/xxxxxx/Development/go/bin to your PATH.

What do you see instead?
<snip>
threadring
chameneosredux

# ../test/bench/go1
ok      _/home/xxxxxx/Development/go/test/bench/go1 2.689s

# ../test

real    0m30.346s
user    1m24.949s
sys 0m16.465s

# Checking API compatibility.
mkdir /tmp/gopath-api/6698ca2900e2/src: permission denied
exit status 1

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
linux/amd64

Which version are you using?  (run 'go version')
go version devel +6c1b6c8417f9 Tue Sep 10 15:13:45 2013 +1000 linux/amd64

Please provide any additional information below.
@bradfitz
Copy link
Contributor

Comment 1:

This is intentional, to make all.bash faster on subsequent runs.

Status changed to WorkingAsIntended.

@bradfitz
Copy link
Contributor

Comment 2:

Oh, this is really about multi-user, not cleaning up the directory.
Changing subject.

Status changed to Accepted.

@alexbrainman
Copy link
Member

Comment 3:

This issue was closed by revision b34ec90.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants