Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2121)

Issue 13652043: code review 13652043: cmd/api/run: make api check directory per-user (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by kortschak
Modified:
11 years, 6 months ago
Reviewers:
brainman, bradfitz
CC:
golang-dev, bradfitz, brainman
Visibility:
Public.

Description

cmd/api: make api check directory per-user Fixes issue 6353.

Patch Set 1 #

Patch Set 2 : diff -r 61e731e2c738 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 61e731e2c738 https://code.google.com/p/go/ #

Total comments: 1

Patch Set 4 : diff -r 381aeb04fa0d https://code.google.com/p/go/ #

Patch Set 5 : diff -r 381aeb04fa0d https://code.google.com/p/go/ #

Total comments: 1

Patch Set 6 : diff -r 381aeb04fa0d https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M src/cmd/api/run.go View 1 2 3 4 5 3 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 12
kortschak
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 6 months ago (2013-09-10 20:02:37 UTC) #1
bradfitz
LGTM But change subject to just cmd/api Leaving for others to submit after that. On ...
11 years, 6 months ago (2013-09-10 20:10:38 UTC) #2
brainman
https://codereview.appspot.com/13652043/diff/5001/src/cmd/api/run.go File src/cmd/api/run.go (right): https://codereview.appspot.com/13652043/diff/5001/src/cmd/api/run.go#newcode109 src/cmd/api/run.go:109: gopath := filepath.Join(os.TempDir(), "gopath-api-"+u.Username, goToolsVersion) u.Username is "DOMAIN\brainman" on ...
11 years, 6 months ago (2013-09-10 23:28:39 UTC) #3
kortschak
On 2013/09/10 23:28:39, brainman wrote: > https://codereview.appspot.com/13652043/diff/5001/src/cmd/api/run.go > File src/cmd/api/run.go (right): > > https://codereview.appspot.com/13652043/diff/5001/src/cmd/api/run.go#newcode109 > ...
11 years, 6 months ago (2013-09-10 23:39:42 UTC) #4
kortschak
On 2013/09/10 23:39:42, kortschak wrote: > I have close to zero knowledge of the windows ...
11 years, 6 months ago (2013-09-10 23:41:51 UTC) #5
brainman
On 2013/09/10 23:39:42, kortschak wrote: > ... If I use u.UID will that work for ...
11 years, 6 months ago (2013-09-10 23:46:40 UTC) #6
kortschak
PTAL
11 years, 6 months ago (2013-09-11 00:18:22 UTC) #7
brainman
https://codereview.appspot.com/13652043/diff/16001/src/cmd/api/run.go File src/cmd/api/run.go (right): https://codereview.appspot.com/13652043/diff/16001/src/cmd/api/run.go#newcode149 src/cmd/api/run.go:149: func cleanUsername(n string) string { I think you code ...
11 years, 6 months ago (2013-09-11 00:24:24 UTC) #8
kortschak
PTAL On Wed, 2013-09-11 at 00:24 +0000, alex.brainman@gmail.com wrote: > I think you code will ...
11 years, 6 months ago (2013-09-11 00:44:30 UTC) #9
brainman
LGTM Should I submit? Alex
11 years, 6 months ago (2013-09-11 00:46:03 UTC) #10
kortschak
On Wed, 2013-09-11 at 00:46 +0000, alex.brainman@gmail.com wrote: > Should I submit? Please.
11 years, 6 months ago (2013-09-11 00:49:31 UTC) #11
brainman
11 years, 6 months ago (2013-09-11 00:51:07 UTC) #12
*** Submitted as https://code.google.com/p/go/source/detail?r=77a4d225cc7e ***

cmd/api: make api check directory per-user

Fixes issue 6353.

R=golang-dev, bradfitz, alex.brainman
CC=golang-dev
https://codereview.appspot.com/13652043

Committer: Alex Brainman <alex.brainman@gmail.com>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b