From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aI19MpGJsGavrgAAe85BDQ:P1 (envelope-from ) for ; Mon, 05 Aug 2024 08:13:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aI19MpGJsGavrgAAe85BDQ (envelope-from ) for ; Mon, 05 Aug 2024 10:13:05 +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=rv9DLhV2; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722845585; 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: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=Pl3zL8PNiYI7h/lSLBx9xe9umcO/nCxwhxKxLwLtRnA=; b=CpkCg6aAAdsR7XARDRaTkN7OOgm3M4wSLx4hUhizYg5Qar/GFsSMUeGTbUIjwkYmW6UYW+ /CIrsvNHKV7cQZb16BOBP475ZpImQ1s624CEQrCNn40K3EvPYVRlzbhHUGYE8Un7P6NAfR p7NaU3VHkO0CbtXxQUjYG6TZfnVWmrKtLhIhsmeC+sM9qloBxRoNvhuCAwyhyx2llaOscs bUsyjH6I0dthJ2hitdXjMHNqqc5ORqoKBs47yeEn3hmeGakUIKeh3ABiPtYR2W2AHWzIKI tOMy+DOp+JdpcfmG4BeXipzdsKkDvxm5T2GXL5vIurl75jYoTwB9fg5VcIl1SQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=rv9DLhV2; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722845585; a=rsa-sha256; cv=none; b=fT8JeNp0mUUdj8YFN+ahVpcgkZ0R6x9g7BzYaBvwS6jjHWU0sw9KH5yk8yeDX0akK3XYTz wvH9QFnKGBWf1Q9xWmPizU6IF9W96rOuWx07KSJW/EqJN048NDMAu4YkZcoI+VhOfMcUI+ NRbtWCA5SaaMLK2W/18OuqsTxZKjJDQXeLFeocqgZ5aW+WuDdGPSKH7VskJRW1S8mEq3O/ F7FSOEuNWyWRJy0po8AFvtX5tpeIYGQ1QAjDmthgfmp7fuPSi55GQx5gaPzp+4IjtlQmUm YOilhadM+h5F3L35wTDPnVNlKRG1PJzlSPBtA+SNg+5H2v5bUTanb+fqXDNrhA== 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 361FBC687 for ; Mon, 5 Aug 2024 10:13:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saspj-0003CK-CL; Mon, 05 Aug 2024 04:12:47 -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 1saspe-0002gY-JJ for guix-patches@gnu.org; Mon, 05 Aug 2024 04:12:42 -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 1saspe-00087d-6q for guix-patches@gnu.org; Mon, 05 Aug 2024 04:12:42 -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=Pl3zL8PNiYI7h/lSLBx9xe9umcO/nCxwhxKxLwLtRnA=; b=rv9DLhV2rF2buXJr/rs8SKTKQl+1pvw4xUGbj8v9BbPvHcsgZVpEuopjQRCJ9Kmczhkrlo+YDXOiDgCGtAiopQqpfUXbIBdIPezmGDUGaCfB2TGgrqCyriSqVtN/oZjV3HSNkqP1agAVJa91XrNnXjvwZI6PyQJ4iIXQQIAWT4cvVr0foxQzXH5OIPVWobkjo2WuAUcugc4r4kL/VZM0QmHsM2zOEDvc7/VimpmlH1ICas6vk+N+xYrNt0yGHEnBHHz7rhuqJuyg1SUumsdcWA+r1vpwccgH4zFlVylJOj2ExnoVXoe4LnvcSGMp9e6MaJknQjNbQFmfpi/piZMwVA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saspy-0007gY-G2 for guix-patches@gnu.org; Mon, 05 Aug 2024 04:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71143] [PATCH] services: gitile: Opt out of Git safe dir check. References: <604e51b2f51141b2b8d1d3d71bf9412ab7760563.1716459581.git.mcsinyx@disroot.org> In-Reply-To: <604e51b2f51141b2b8d1d3d71bf9412ab7760563.1716459581.git.mcsinyx@disroot.org> Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Aug 2024 08:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71143 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71143@debbugs.gnu.org Received: via spool by 71143-submit@debbugs.gnu.org id=B71143.172284554629404 (code B ref 71143); Mon, 05 Aug 2024 08:13:02 +0000 Received: (at 71143) by debbugs.gnu.org; 5 Aug 2024 08:12:26 +0000 Received: from localhost ([127.0.0.1]:57828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saspN-0007eB-Tp for submit@debbugs.gnu.org; Mon, 05 Aug 2024 04:12:26 -0400 Received: from roxy-shared.hosting.energy ([137.74.182.160]:47881 helo=roxy.hosting.energy) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saspL-0007da-EY for 71143@debbugs.gnu.org; Mon, 05 Aug 2024 04:12:24 -0400 Received: from [45.137.112.13] (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 1sasou-000000002K2-0nu2 for 71143@debbugs.gnu.org; Mon, 05 Aug 2024 11:11:56 +0300 From: Evgeny Pisemsky Date: Mon, 05 Aug 2024 11:11:52 +0300 Message-ID: <87plqnfkxj.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Scanned-By: ClamAV 0.101.4; Mon, 05 Aug 2024 11:11:56 +0300 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.21 X-Migadu-Queue-Id: 361FBC687 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.21 X-TUID: u7XJwnn3gVMq --=-=-= Content-Type: text/plain In the meantime I did some searching and found out that owner check can be disabled right from guile without any external config files: https://gitlab.com/guile-git/guile-git/-/blob/47541c4eb28ca81530b5541834a4d105a808954f/git/settings.scm#L77 Attached example of gitile package with modified source that works for me with existing service. It can even be made optional in gitile code. --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=gitile.scm Content-Transfer-Encoding: base64 KHVzZS1tb2R1bGVzIChndWl4IHBhY2thZ2VzKQogICAgICAgICAgICAgKGdudSBwYWNrYWdlcyB2 ZXJzaW9uLWNvbnRyb2wpKQoKKHBhY2thZ2UKICAoaW5oZXJpdCBnaXRpbGUpCiAgKHNvdXJjZQog ICAob3JpZ2luCiAgICAgKGluaGVyaXQgKHBhY2thZ2Utc291cmNlIGdpdGlsZSkpCiAgICAgKG1v ZHVsZXMgJygoZ3VpeCBidWlsZCB1dGlscykpKQogICAgIChzbmlwcGV0ICcoc3Vic3RpdHV0ZSog InNjcmlwdHMvZ2l0aWxlLmluIgogICAgICAgICAgICAgICAgICgoIl4uKnJ1bi1zZXJ2ZXIuKiIg bGluZSkKICAgICAgICAgICAgICAgICAgKHN0cmluZy1hcHBlbmQKICAgICAgICAgICAgICAgICAg ICIgICAgKHVzZS1tb2R1bGVzIChnaXQgc2V0dGluZ3MpKVxuIgogICAgICAgICAgICAgICAgICAg IiAgICAoc2V0LW93bmVyLXZhbGlkYXRpb24hICNmKVxuIgogICAgICAgICAgICAgICAgICAgbGlu ZSkpKSkpKSkK --=-=-=--