From: Johannes Schindelin Date: Wed, 30 Dec 2015 14:57:36 GMT Subject: Re: [PATCH] commit: ensure correct permissions of the commit message Message-ID: In-Reply-To: <56773264.2050806@web.de> Hi Torsten, On Sun, 20 Dec 2015, Torsten Bögershausen wrote: > On 2015-12-20 15.21, Johannes Schindelin wrote: > > > I have to point out that the adjust_shared_perm() call must come after > > the *fclose()* call, to avoid modifying files to which we currently > > have open file handles. > > I had the same concern, but couldn't find anything that gives a hint > that we can't adjust the permissions on an open file. Oops, okay! I misremembered. This makes our task much easier now. Thanks! Dscho