Ian Hilt wrote: > On Wed, 26 Nov 2008, Joey Hess wrote: > > Joey Hess wrote: > > > Note that in both occasions that I've seen this failure, it has not been > > > due to a missing directory, or bad permissions > > > > Actually, it was due to bad permissions. :-) Once git was fixed to > > actually say that, I figured out where to look to fix them. > > This is strange since write_loose_object() which calls create_tmpfile() > checks for EPERM. Perhaps this should be done in create_tmpfile()? errno is clobbered by the mkdir in create_tmpfile(), that's what my patch corrects. I suspect that in my case, mkstemp failed with EACCES, not EPERM. git was running as a group that did not have write access to (some) object directories. -- see shy jo
Attachment:
signature.asc
Description: Digital signature