From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F0956138334 for ; Mon, 4 Jun 2018 17:14:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFA47E0BDA; Mon, 4 Jun 2018 17:14:50 +0000 (UTC) Received: from smarthost01d.mail.zen.net.uk (smarthost01d.mail.zen.net.uk [212.23.1.7]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A097E0BCB for ; Mon, 4 Jun 2018 17:14:50 +0000 (UTC) Received: from [82.69.80.10] (helo=peak.localnet) by smarthost01d.mail.zen.net.uk with esmtp (Exim 4.80) (envelope-from ) id 1fPt4C-0006Ik-Ce for gentoo-user@lists.gentoo.org; Mon, 04 Jun 2018 17:14:48 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Local portage git mirror Date: Mon, 04 Jun 2018 18:14:48 +0100 Message-ID: <2241596.6ee0Daf6aY@peak> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost01d-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: 2321e867-054a-424d-b5b6-a5332c22a4f0 X-Archives-Hash: 34832bacae5ecda02875ab0bee945972 Hello list, I have a small LAN, on which one box has little to do so I've set it up as a local git mirror. I use this box - the one I'm writing on now - as a compile server for a coule of other boxes, including the new git server, in which the clients export their portage tree over NFS v3 to this box. On those client boxes I've had to "chown -R portage:portage /usr/portage" to get the exporting via git to work; otherwise I get a read permission failure on .git/FETCH_HEAD. This is what I see on the compile host: $ ls -l /usr/portage/.git total 15M -rw-r--r-- 1 root root 267 May 7 10:59 config -rw-r--r-- 1 root root 73 May 7 10:49 description -rw-r--r-- 1 root root 104 Jun 4 09:49 FETCH_HEAD [...] But on the client boxes I now have this: $ ls -l /usr/portage/.git total 15M -rw-r--r-- 1 portage portage 277 May 7 11:33 config -rw-r--r-- 1 portage portage 73 May 7 11:31 description -rw-r--r-- 1 portage portage 104 Jun 4 10:24 FETCH_HEAD [...] I did try chowning to root:portage first, but I still got the permission error. Have I done something daft here? -- Regards, Peter.