GNU bug report logs - #56444
Gitolite home directory permissions

Previous Next

Package: guix;

Reported by: Evgeny Pisemsky <evgeny <at> pisemsky.com>

Date: Thu, 7 Jul 2022 21:36:01 UTC

Severity: normal

Done: "Thompson, David" <dthompson2 <at> worcester.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxime Devos <maximedevos <at> telenet.be>
To: "Thompson, David" <dthompson2 <at> worcester.edu>, 56444 <at> debbugs.gnu.org
Subject: bug#56444: Patch to fix Gitolite home directory permissions
Date: Tue, 23 Aug 2022 14:41:19 +0200
[Message part 1 (text/plain, inline)]
On 19-08-2022 15:32, Thompson, David wrote:
> Hi Evgeny and whoever wants to do some code review,
>
> I have been experiencing this same issue for years now and have been 
> manually chmod'ing /var/lib/gitolite every time I upgraded because I 
> didn't understand what was happening.  All this time I thought I had 
> gitolite misconfigured, that maybe I didn't have its umask config set 
> properly, but it was Guix all along! In this case that's great, 
> because it makes the problem easy for me to fix.  Patch attached.  It 
> works like a charm for my personal git server 
> (https://git.dthompson.us), /var/lib/gitolite was 700 before a system 
> reconfigure, and 750 afterwards.
>
> Big thanks to Evgeny for making a bug report and doing the research to 
> identify the root cause!
>
> - Dave

During "guix system reconfigure", there is now window where the 
directory temporarily has incorrect bits and hence if gitolite is 
restarted during that time it will presumably fail.  Could a 
'home-permission-bits' or such field be added instead to <user-account> 
to make things atomic?

Greetings,
Maxime.

[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

This bug report was last modified 2 years and 326 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.