Git pull permission denied linux?
The problem is that git is unable to connect to its credential cache (Read http://git-scm.com/docs/git-credential-cache for more information).
From documentation:
The cache is accessible over a Unix domain socket, restricted to the current user by filesystem permissions.
So all you need is to check a file permission for this domain socket. Usually it is placed in ~/.git-credential-cache/socket
and change them to make it accessible by andrewr
user.
The problem seems to be right within the owner of your files. Take a look:
drwxrwxrwx 48 root root 53248 Jan 3 12:10 application
...
drwxrwxrwx 9 root root 4096 Jan 2 10:10 wp-admin
Even though these directories are readable, writable and executable by everyone, the files within may not be. Further, having directories owned by root
in your home folder is probably not a good idea.
This command should fix the issue, if executed within ~/www/software
:
chown -R andrewr:andrewr *