login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
April
»
22
Re: Today's 'master' leaves .idx/.pack in 0400
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Junio C Hamano <junkio@...>
To: Nicolas Pitre <nico@...>
Cc: Linus Torvalds <torvalds@...>, <git@...>, <linux-kernel@...>
Subject:
Re: Today's 'master' leaves .idx/.pack in 0400
Date: Sunday, April 22, 2007 - 2:52 pm
Nicolas Pitre <nico@cam.org> writes:
quoted text
> On Sun, 22 Apr 2007, Nicolas Pitre wrote: > >> On Sun, 22 Apr 2007, Junio C Hamano wrote: >> >> > Nicolas Pitre <nico@cam.org> writes: >> > >> > > 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. >> >> Well, actually there is no point making pack files writable. If they're >> modified, they get corrupted. > > OK there are those test cases. > > Well... Either we chmod to 0644, or we fix the tests to 'chmod +w' like > it is already done in t5302. > > In any case I wouldn't die() but only error() on a failure to chmod(). > It is sure inconvenient if the pack isn't world readable, but it is not > a "fatal" problem for the repack.
If it DIED, I would not have to have been embarrassed in public like this! Grumble. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[ANNOUNCE] GIT 1.5.1.1
, Junio C Hamano
, (Wed Apr 11, 10:09 pm)
[ANNOUNCE] GIT 1.5.1.2
, Junio C Hamano
, (Sun Apr 22, 2:16 am)
Re: [ANNOUNCE] GIT 1.5.1.2
, Linus Torvalds
, (Sun Apr 22, 1:22 pm)
Re: [ANNOUNCE] GIT 1.5.1.2
, Junio C Hamano
, (Sun Apr 22, 2:47 pm)
Re: [ANNOUNCE] GIT 1.5.1.2
, Junio C Hamano
, (Sun Apr 22, 1:58 pm)
Today's 'master' leaves .idx/.pack in 0400
, Junio C Hamano
, (Sun Apr 22, 2:06 pm)
Re: Today's 'master' leaves .idx/.pack in 0400
, Nicolas Pitre
, (Sun Apr 22, 2:25 pm)
Re: Today's 'master' leaves .idx/.pack in 0400
, Junio C Hamano
, (Sun Apr 22, 2:27 pm)
Re: Today's 'master' leaves .idx/.pack in 0400
, Nicolas Pitre
, (Sun Apr 22, 2:34 pm)
Re: Today's 'master' leaves .idx/.pack in 0400
, Linus Torvalds
, (Sun Apr 22, 2:54 pm)
Re: Today's 'master' leaves .idx/.pack in 0400
, Junio C Hamano
, (Sun Apr 22, 3:03 pm)
Re: Today's 'master' leaves .idx/.pack in 0400
, Junio C Hamano
, (Sun Apr 22, 3:20 pm)
Re: Today's 'master' leaves .idx/.pack in 0400
, Linus Torvalds
, (Sun Apr 22, 3:29 pm)
Re: Today's 'master' leaves .idx/.pack in 0400
, Nicolas Pitre
, (Sun Apr 22, 2:47 pm)
Re: Today's 'master' leaves .idx/.pack in 0400
, Junio C Hamano
, (Sun Apr 22, 2:52 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
Andrew Morton
Re: 2.6.24-rc3-mm1 make headers_check fails
git
:
linux-netdev
:
Ingo Molnar
iwlwifi: fix build bug in "iwlwifi: fix LED stall"
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
597 guests
online.
Syndicate