From 245ec739ca9b574f367e1201b02079e7737a78d4 Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Tue, 19 Feb 2019 10:09:04 -0800 Subject: [PATCH] chown command should be against user $HOME, not roots home directory. --- cmd/minikube/cmd/start.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/minikube/cmd/start.go b/cmd/minikube/cmd/start.go index 75e2b001280d..f1ce4eacb63a 100644 --- a/cmd/minikube/cmd/start.go +++ b/cmd/minikube/cmd/start.go @@ -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")