From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uJhtHmBLq2YUeAAAqHPOHw:P1 (envelope-from ) for ; Thu, 01 Aug 2024 08:46:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id uJhtHmBLq2YUeAAAqHPOHw (envelope-from ) for ; Thu, 01 Aug 2024 10:46:24 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=AlxTrvw9; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722501983; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=YyO/4VZKM+4DT0PmCv/Qb3QN1HGudeMhjRlViQhuTL8=; b=DKIDxgGzN9uEscVpTJZS3xBgdsOEqvvf8PYcPF4RN74ViwShUrSP0da5jnObjb0rNy8wm4 8YaeA2L6qWDZeKZuGfxB34OXmbfQs7C1wG6pE2+Z2Epct4O1E0YIrm2rS8/UuyIGD0jICu ZrJtnulT8gAWCWvIn56oQ65BiR9PpqdU4TdC529re7TMKwP/YYONkWwluhjYbhIs7lEB8U PsNksHQcTo5m+q9Mtoz+EzTzIz5Rr5sZHGynF/h01JT7k7pulc6mxTYtCieaLirk4OrT3A 1oExw3hcIpfKSRnYTexvVRipExkeuA5Lxxd9k4BS7RNyZq3sgzAeYrfZwtEBaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722501983; a=rsa-sha256; cv=none; b=ttHXMmr65QGeaE/5andqCUhjF6WZV4yvSaadHi0rv9/GwRL99IG2GBL/imYGodJoQYo5r9 P6t19RkLn9yV3B3jwX4NfV8jZVx8kriUuYeF2DlakjLLoiI56fiMOeNJiioF7fPxU8NAPV burmsoOiUOUZsZRc8s3LkoRMhQtGsPyYH4sP3+n+5uq+MfwF0SCN6O7Sf1QjiThSEA6vY7 3Id24LYLqS0M+53EoammyvGIsImu85v3Q4cv9p58+wO4hLsyJoVWD0LAPVzyMHBqvgr1TP fluceaRFqw95v/32DUaW/2OhrliPhgS17SVdsfhyCg4gT0zmonYJvI0KE4GV5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=AlxTrvw9; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 241C764AAC for ; Thu, 1 Aug 2024 10:46:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZRRo-0004Zy-4T; Thu, 01 Aug 2024 04:46:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZRRS-0004Fm-MD for guix-patches@gnu.org; Thu, 01 Aug 2024 04:45:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sZRRS-0006jY-18 for guix-patches@gnu.org; Thu, 01 Aug 2024 04:45:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=YyO/4VZKM+4DT0PmCv/Qb3QN1HGudeMhjRlViQhuTL8=; b=AlxTrvw9dxu6jicvDxAVajQJOE9BGrpX0DHiurt8eRya2kGh3uwXU89p/pkRC/WANuRilZrUFTDIWL5D5prh6Q7BOZO/iOmWdhfesD5QA8K/PqBJlKAg7kXdTRTWhlOYwBpYc3fR29MRP6ycqO58BJGGiILpzi6gN+Q5kUxHi5bfU2coNhbUEwHQURBwRddBlG0dqmwdMau0Rbn+53205FL5RHwReEjEq6JC89q9xsYiRYHGVLDjvOMPeGlGOrOoZdoDSc0B/jdi1zZyAGjDMkRIISA1xAFzXw5ZiuVMgMdGOk9RTITA8FyF+oAtbeBtLZEduAXHCJA2ar3RTjmHxw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sZRRi-000562-Gf for guix-patches@gnu.org; Thu, 01 Aug 2024 04:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72400] [PATCH] services: gitile: Allow to set user and group. References: <87sevpehco.fsf@pisemsky.site> In-Reply-To: <87sevpehco.fsf@pisemsky.site> Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Aug 2024 08:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72400 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72400@debbugs.gnu.org Cc: mcsinyx@disroot.org, julien@lepiller.eu Received: via spool by 72400-submit@debbugs.gnu.org id=B72400.172250194319547 (code B ref 72400); Thu, 01 Aug 2024 08:46:02 +0000 Received: (at 72400) by debbugs.gnu.org; 1 Aug 2024 08:45:43 +0000 Received: from localhost ([127.0.0.1]:50849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZRRP-00055D-3D for submit@debbugs.gnu.org; Thu, 01 Aug 2024 04:45:43 -0400 Received: from roxy-shared.hosting.energy ([137.74.182.160]:55146 helo=roxy.hosting.energy) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZRRM-00054v-Td for 72400@debbugs.gnu.org; Thu, 01 Aug 2024 04:45:41 -0400 Received: from [45.137.112.91] (helo=laptop) by roxy.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1sZRR0-000000005d9-2WVP; Thu, 01 Aug 2024 11:45:18 +0300 From: Evgeny Pisemsky Date: Thu, 01 Aug 2024 11:45:11 +0300 Message-ID: <87frroeinc.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 241C764AAC X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.97 X-Spam-Score: -8.97 X-TUID: wV+zHa+GPmCW Hello! It does not work, and that is the reason for this patch. At this point group access is not enough, I have to run gitile from git user (of gitolite) who owns repositories. Same for fcgiwrap. This problem is related to the change in libgit2, and for a long time I just kept it downgraded, but this cannot be forever. I also tried to play with safe-directory option without any success, but even if it worked setting config for every service that works with git seems like a huge overhead. Changing default user to git may be quite radical, but since the documentation states this: > Gitile works best in collaboration with Gitolite, and will serve the > public repositories from Gitolite by default. I think it is sane.