From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 258EA1393F1 for ; Wed, 16 Sep 2015 07:58:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73B05E0875; Wed, 16 Sep 2015 07:57:54 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 3B029E081D for ; Wed, 16 Sep 2015 07:57:53 +0000 (UTC) Received: from digimed.co.uk (yooden.digimed.co.uk [192.168.1.6]) by mail.digimed.co.uk (Postfix) with ESMTPA id 190F0183B66 for ; Wed, 16 Sep 2015 08:57:52 +0100 (BST) Date: Wed, 16 Sep 2015 08:57:40 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] portage directory ownerships? Message-ID: <20150916085740.0a7cb2a3@digimed.co.uk> In-Reply-To: <55F87EAB.20101@gmail.com> References: <55F87EAB.20101@gmail.com> Organization: Digital Media Production X-Mailer: Claws Mail 3.12.0-84-g30ac52 (GTK+ 2.24.28; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 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-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/D8K_3dIWP2xCMf+pPsl43Rs"; protocol="application/pgp-signature" X-Archives-Salt: f70d8653-0db2-40b0-8c39-7ddbe5427815 X-Archives-Hash: ec8132a8fb0158d6b715db16c1c690a5 --Sig_/D8K_3dIWP2xCMf+pPsl43Rs Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 15 Sep 2015 22:25:15 +0200, Alan McKinnon wrote: > > That got me thinking. Everywhere that portage operates or owns > > things, should the ownership not be portage.portage > > and what would the typical permissions be? =20 >=20 > Here, all of /etc/portage is root:root > The tree and all overlays are portage:portage Just to add some confusion to the mix root@fenchurch: drwxr-xr-x 1 root root 3378 Aug 25 08:43 /var/portage root@hactar: drwxr-xr-x 1 root root 3378 Aug 25 07:55 /var/portage root@vroomfondel: drwxr-xr-x 168 root root 4096 Aug 25 08:03 /var/portage root@slartibartfast: drwxr-xr-x 1 portage portage 3378 Aug 25 08:05 /var/po= rtage root@lunkwill: drwxr-xr-x 168 portage portage 4096 Aug 25 07:35 /var/portage root@quordlepleen: drwxr-xr-x 1 root root 3378 Aug 25 08:04 /var/portage So some are portage:portage, some are root:root - all use /var/portage for $PORTDIR so that's not an issue. One of the portage:portage ones is the one that syncs with the mirrors and acts as an rsync host for the others, this may or may not be significant. Downloading a portage snapshot shows it all to be owned by portage:portage, so I guess that's as close as we are going to get to a definitive answer. --=20 Neil Bothwick If at first you don't succeed, you'll get a lot of free advice from folks who didn't succeed either. --Sig_/D8K_3dIWP2xCMf+pPsl43Rs Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlX5IPQACgkQum4al0N1GQPM0ACeJlqKvhzRvC2+VLpJK8H604o1 zj8AnRut7dfSxye+bKL13/2l3mmz4glf =Jad5 -----END PGP SIGNATURE----- --Sig_/D8K_3dIWP2xCMf+pPsl43Rs--