chown command should be against user $HOME, not roots home directory.

pull/3719/head
Thomas Stromberg 2019-02-19 10:09:04 -08:00
parent 5c457ff35d
commit 245ec739ca
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ func prepareNone() {
console.OutLn("")
console.OutStyle("command", "sudo mv %s/.kube %s/.minikube $HOME", home, home)
console.OutStyle("command", "sudo chown -R $USER %s/.kube %s/.minikube", home, home)
console.OutStyle("command", "sudo chown -R $USER $HOME/.kube $HOME/.minikube")
console.OutLn("")
console.OutStyle("tip", "This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true")