Re: git pull works remotely but not locally
- From
Jeff King <peff@peff.net>
- Date
- May 27, 2010, 15:38 UTC
- Message-ID
- <20100527153812.GA23484@coredump.intra.peff.net>
- In-Reply-To
- <4BFE8DF8.8050301@llaisdy.com>
On Thu, May 27, 2010 at 04:21:28PM +0100, Ivan Uemlianin wrote:
Show 11 quoted lines
> 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