Skip to content

Instantly share code, notes, and snippets.

@diegopacheco
Created May 16, 2019 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diegopacheco/ca7aeb7f6ce283d7d13b710f5301e969 to your computer and use it in GitHub Desktop.
Save diegopacheco/ca7aeb7f6ce283d7d13b710f5301e969 to your computer and use it in GitHub Desktop.
Git: fatal: unable to connect to cache daemon: Permission denied
sudo chown $(whoami) ~/.git-credential-cache/socket
@impressto
Copy link

on more recent versions of ubuntu use sudo chown $(whoami) ~/.cache/git/credential/socket

@QbixSpain
Copy link

In my case ~/.cache/git/credential/socket directory was missing. I created it an it start to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment