git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* error: Unable to append to .git/logs/refs/remotes/origin/master: Permission denied
@ 2009-04-28  7:31 Ingo Molnar
  2009-04-29  3:29 ` Jeff King
  0 siblings, 1 reply; 8+ messages in thread
From: Ingo Molnar @ 2009-04-28  7:31 UTC (permalink / raw)
  To: git


I had a portion of a repo owned by root accidentally, and the next 
time i pulled as user mingo Git gave me this warning and suggestion:

 aldebaran:~/git> git pull
 error: Unable to append to .git/logs/refs/remotes/origin/master: Permission denied
 From e2:git
  ! 66996ec..95110d7  master     -> origin/master  (unable to update local ref)
  * [new tag]         v1.6.3-rc2 -> v1.6.3-rc2
 error: some local refs could not be updated; try running
  'git remote prune origin' to remove any old, conflicting branches

Obviousy Git cannot update the ref there so the failure is OK, but 
the git-remote advice it gives is confusing IMHO: the 'git remote 
prune origin' cannot fix anything. (and it is clear from the fetch 
permission failure that there's no chance to fix anything here.)

I suspect there are other, more typical failure modes where that 
advice is useful - just wanted to point out that it's confusing 
here.

	Ingo

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-05-25 22:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28  7:31 error: Unable to append to .git/logs/refs/remotes/origin/master: Permission denied Ingo Molnar
2009-04-29  3:29 ` Jeff King
2009-04-29  4:07   ` Jeff King
2009-04-29  7:32     ` Ingo Molnar
2009-04-29  8:06       ` Jeff King
2009-05-25 10:37         ` [PATCH 1/2] lock_ref: inform callers of unavailable ref Jeff King
2009-05-25 10:40         ` [PATCH 2/2] fetch: report ref storage DF errors more accurately Jeff King
2009-05-25 22:23           ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).