# Re: git pull works remotely but not locally

- From: Jeff King \<hidden\>
- Date: 2016-06-15 22:48:52 
- List: git
- Page: https://ratatoskr.run/git/2016/06/7465726
- Thread: https://ratatoskr.run/git/2016/06/7465699/t.md

```text
On Thu, May 27, 2010 at 04:21:28PM +0100, Ivan Uemlianin wrote:

> Thanks for your comment.
> >What happens if you run "git pull"? If you get an error, can you try to
> >run "GIT_TRACE=1 git pull"? Git should then print out exactly what it is
> >trying to exec that is failing.
> 
> Not very exciting:
> 
> $ GIT_TRACE=1 git pull
> trace: exec: 'git-pull'
> trace: run_command: 'git-pull'
> fatal: cannot exec 'git-pull': Permission denied

Then the next thing to try is probably (assuming you are running Linux):

  strace -f -e execve git pull

Though I suspect we may just see:

  execve("/opt/libexec/git-core/git-core/git-pull", ...) = -1 EACCES (Permission denied)

which doesn't help much. I just want to be sure that is the source of
the problem.

-Peff
```
