From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0FeXMflRx2K/MwEAbAwnHQ (envelope-from ) for ; Thu, 07 Jul 2022 23:36:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OEeWMPlRx2KWAAEAG6o9tA (envelope-from ) for ; Thu, 07 Jul 2022 23:36:57 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 957E820E47 for ; Thu, 7 Jul 2022 23:36:57 +0200 (CEST) Received: from localhost ([::1]:33660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9ZBA-0007Vi-5y for larch@yhetil.org; Thu, 07 Jul 2022 17:36:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9ZAI-0006vw-62 for bug-guix@gnu.org; Thu, 07 Jul 2022 17:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9ZAH-0000xP-U0 for bug-guix@gnu.org; Thu, 07 Jul 2022 17:36:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9ZAH-0008Iw-RG for bug-guix@gnu.org; Thu, 07 Jul 2022 17:36:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56444: Gitolite home directory permissions Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 Jul 2022 21:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56444 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 56444@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165722972531874 (code B ref -1); Thu, 07 Jul 2022 21:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jul 2022 21:35:25 +0000 Received: from localhost ([127.0.0.1]:58188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9Z9g-0008I1-Ob for submit@debbugs.gnu.org; Thu, 07 Jul 2022 17:35:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:57490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9Z9b-0008Hr-CC for submit@debbugs.gnu.org; Thu, 07 Jul 2022 17:35:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9Z9a-0005uW-T2 for bug-guix@gnu.org; Thu, 07 Jul 2022 17:35:19 -0400 Received: from sofi-shared.hosting.energy ([2001:41d0:602:1f56::]:33702 helo=sofi.hosting.energy) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9Z9Z-0000nJ-4B for bug-guix@gnu.org; Thu, 07 Jul 2022 17:35:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pisemsky.com; s=dkim; h=Content-Transfer-Encoding:Content-Type:MIME-Version :Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QFUSFXT3/h2OrP+bjw6Xo5rzaJo5jwypSoHEq26CjOM=; b=FjhHhb3WKDdo0EXYaj2w/kLjTp 3wybQHV5RguXenqbdV0n4wKG/GLxumConJeLdapV/hk02l/ZmduGI6osg2yP6RkZaI7Eh7iQSETEm 5sq1qXZvX9j3qH7EgMDixvojYJp3r9VPcHaTu9jfZBipftVhvYKUUgcXbnF90RUK8Qjw=; Received: from node-122-176-35-212.domolink.tula.net ([212.35.176.122] helo=alpha) by sofi.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1o9Z9U-0007dm-GI for bug-guix@gnu.org; Fri, 08 Jul 2022 00:35:12 +0300 From: Evgeny Pisemsky Date: Fri, 08 Jul 2022 00:35:10 +0300 Message-ID: <87zghkehdd.fsf@pisemsky.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:41d0:602:1f56::; envelope-from=evgeny@pisemsky.com; helo=sofi.hosting.energy X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657229817; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=QFUSFXT3/h2OrP+bjw6Xo5rzaJo5jwypSoHEq26CjOM=; b=qtZ2pAGztwcZzcERfHUU3HOQydCKkobwL8r0t3qYqWUSsHZq1qzwemMH+TTgOFiZjQUdPP pPt79QmLxXcr3TdaJP21UE6GWHpO+dvU/44syGUnKwVShXw2vsF9pzdrVYKuGh7Bqs2/FF 0ydwbu4h8YycA7Z2AVGKahO4nFg+jdOMbTK0GHqrHXbfi6OZ/uVT9z3hpbF8qT37oqtDoH 8uRVLLh/X3ifS7atvQnc1XsmKpuFoEdjzNCseRD/2A3bsF5Tuy8nFKVQNxoJqgWP2UGVul tiIYs+QPEhmM9aG7/yIwSyVLEGXUTaAAh1w90j9UpXcCGkr+kIyFdZffjwfdaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657229817; a=rsa-sha256; cv=none; b=kGXOQZqVVbR8JeWknJ3oqfgMkKTZoP3Fi1rf6PUBbSO7tKOexNXKT22Vte9LsaEQNmfSx1 Eg6rmDXHqfsdTUBRraNgIuO7O5NWK9KZMJHgE3D/RMqjJiF6q0dZ/fEAUjBpPtpGEEece+ CMsDqhfpCBgaNLqoz95B1EvPCHERNiCjkpQt5rUpkJFXSiAwCZHbfAzrbqRz6MXRSW1sXA ziwesemc/sVb6CdYSI4NLpPy4rR6My4lYWMn4f35pgvTuxdblKXsRhigpCqXEHe2dFNi8D No21xvlzJNCN+3H2y5tsx16eg14ZkkktG+STEtnp8Vd/xo2FO5fKT53F1KknZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pisemsky.com header.s=dkim header.b=FjhHhb3W; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.85 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pisemsky.com header.s=dkim header.b=FjhHhb3W; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 957E820E47 X-Spam-Score: 1.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5FIh62w6Islf Hello! I wanted to serve public repositories from gitolite using git-daemon. I tried the following configuration of services: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 (define git-daemon =E2=94=82 (git-daemon-service =E2=94=82 #:config (git-daemon-configuration =E2=94=82 (base-path "/var/lib/gitolite/repositories")))) =E2=94=82=20 =E2=94=82 (define gitolite =E2=94=82 (service gitolite-service-type =E2=94=82 (gitolite-configuration =E2=94=82 (admin-pubkey user-key) =E2=94=82 (group "git-daemon") =E2=94=82 (rc-file (gitolite-rc-file =E2=94=82 (umask #o0027)))))) =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 However despite setting the umask the `/var/lib/gitolite' directory gets the `drwx------' permissions that makes it inaccessible for the git-daemon. If I set the group permissions manually and restart the git-daemon everything works fine until the next system reboot, which resets the permissions to the above value.