Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Failed to save config due to HOST_HOME_PERMISSION #21779

Open
@KishanPipariya

Description

What Happened?

I am unable to start minikube. When I execute minikube start, I get the following message:

πŸ˜„ minikube v1.37.0 on Darwin 15.7.1 (arm64)
✨ Automatically selected the docker driver
πŸ“Œ Using Docker Desktop driver with root privileges
πŸ‘ Starting "minikube" primary control-plane node in "minikube" cluster
🚜 Pulling base image v0.0.48 ...
❗ minikube was unable to download gcr.io/k8s-minikube/kicbase:v0.0.48, but successfully downloaded docker.io/kicbase/stable:v0.0.48@sha256:7171c97a51623558720f8e5878e4f4637da093e2f2ed589997bedc6c1549b2b1 as a fallback image
❌ Exiting due to HOST_HOME_PERMISSION: Failed to save config: failed to acquire lock for /Users/kishan/.minikube/profiles/minikube/config.json: {Name:mk480775629aed10b580891598dca15fe0ea8cb7 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}: unable to open /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/juju-mk480775629aed10b580891598dca15fe0ea8cb7: permission denied
πŸ’‘ Suggestion: Your user lacks permissions to the minikube profile directory. Run: 'sudo chown -R $USER $HOME/.minikube; chmod -R u+wrx $HOME/.minikube' to fix
🍿 Related issue: https://github.com/kubernetes/minikube/issues/9165

Attach the log file

I get the following error in terminal when I run 'minikube logs --file=log.txt':
I1021 15:31:34.236682 11949 out.go:360] Setting OutFile to fd 1 ...
log: exiting because of error: log: unable to create log: open /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/minikube_logs_2a374cc70e57ec1794bcf960f67931c9e8cf2de4_0.log: permission denied

Operating System

macOS (Default)

Driver

Docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /