Re: Today's 'master' leaves .idx/.pack in 0400
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 22, 2007, 18:27 UTC
- Message-ID
- <7vejmcnu28.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <alpine.LFD.0.98.0704221422250.28339@xanadu.home>
Nicolas Pitre <nico@cam.org> writes:
Show 9 quoted lines
> On Sun, 22 Apr 2007, Junio C Hamano wrote: > >> With recent glibc, mkstemp() creates 0400 file. Updated >> pack-objects uses it in pack/idx writing without fixing this, >> hence this problem. > > Oops. I guess I'm guilty for this. I didn't bother looking at the > permission on the pack for git-pack-objects since git-repack seemed to > take care of that. But it only _remove_ write permissions.
Ok, then probably we can change the 0444 in my "quickfix" patch to 0644. That should also let the 5300 test pass.