From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10097 invoked by alias); 4 Oct 2009 20:34:15 -0000 Received: (qmail 10084 invoked by uid 22791); 4 Oct 2009 20:34:14 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx.meyering.net (HELO mx.meyering.net) (82.230.74.64) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 04 Oct 2009 20:34:09 +0000 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 16B7F383D2; Sun, 4 Oct 2009 22:34:07 +0200 (CEST) From: Jim Meyering To: overseers@sourceware.org Cc: gdb@sourceware.org Subject: Re: gdb.git hiccup In-Reply-To: <20091004151537.GC5475@ednor.casa.cgf.cx> (Christopher Faylor's message of "Sun, 4 Oct 2009 11:15:37 -0400") References: <87ws3clkx8.fsf@meyering.net> <87r5tklij2.fsf@meyering.net> <87k4zclc87.fsf@meyering.net> <20091003233527.GA9182@caradoc.them.org> <877hvbk5xn.fsf@meyering.net> <20091004144926.GA5475@ednor.casa.cgf.cx> <878wfri4ip.fsf@meyering.net> <20091004151537.GC5475@ednor.casa.cgf.cx> Date: Sun, 04 Oct 2009 20:34:00 -0000 Message-ID: <87my46hpa8.fsf@meyering.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00074.txt.bz2 Christopher Faylor wrote: > On Sun, Oct 04, 2009 at 05:05:02PM +0200, Jim Meyering wrote: >>Christopher Faylor wrote: >> >>> On Sun, Oct 04, 2009 at 08:51:32AM +0200, Jim Meyering wrote: >>>>But when I tried to diagnose it, I discovered that there are unreadable >>>>temporary pack files owned by from back in February that prevent a local clone. >>>> >>>> sourceware$ cd /git/archer.git/objects; ls -l tmp* >>>> -rw------- 1 rmoseley archer 368640 Feb 9 2009 tmp_pack_hMUtoO >>>> -rw------- 1 rmoseley archer 876544 Feb 9 2009 tmp_pack_jmBcho >>>> -rw------- 1 rmoseley archer 1007616 Feb 9 2009 tmp_pack_zbwx0m >>>> >>>>I have neither root access nor archer group membership, so cannot remove >>>>them, and sent a request to overseers yesterday. No reply yet. >>> >>> How did rmosely manage to create these files when he does not have >>> login privileges? >> >>Via git. >>tmp_pack_ files are created by git, but obviously not always >>removed by the version of git that was running back then. >>rmosely *does* have write access to the archer git repository. >> >>> Do we need to close a hole here somewhere? >> >>It'd be good to make sure that can't happen again, >>but it's not a security problem (DoS, maybe, though) > > Ok, so what's the solution? Should a cron job be cleaning out old tmp* > files or is this no longer an issue with newer versions of git? I've poked around a little and see that this has been reported to happen upon write (e.g., disk full) errors. The fact that they'd been there for months without causing trouble suggests that they impede local cloning only, and not cloning via any server, so I wouldn't worry about it.