Skip to content

Commit 3426326

Browse files
authored
Merge pull request kubernetes#3719 from tstromberg/none-doc-fix
chown command should be against user $HOME, not roots home directory.
2 parents f50d591 + 245ec73 commit 3426326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/minikube/cmd/start.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ func prepareNone() {
322322

323323
console.OutLn("")
324324
console.OutStyle("command", "sudo mv %s/.kube %s/.minikube $HOME", home, home)
325-
console.OutStyle("command", "sudo chown -R $USER %s/.kube %s/.minikube", home, home)
325+
console.OutStyle("command", "sudo chown -R $USER $HOME/.kube $HOME/.minikube")
326326
console.OutLn("")
327327

328328
console.OutStyle("tip", "This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true")

0 commit comments

Comments
 (0)