From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j4M96OVm011577 for ; Sun, 22 May 2005 09:06:25 GMT Received: from [62.254.189.226] (helo=snowdrop) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DZmPl-00033H-3b for gentoo-dev@lists.gentoo.org; Sun, 22 May 2005 09:06:29 +0000 Received: from localhost ([127.0.0.1] helo=snowdrop) by snowdrop with esmtp (Exim 4.43) id 1DZmPW-0005yA-Fx for gentoo-dev@lists.gentoo.org; Sun, 22 May 2005 10:06:14 +0100 Date: Sun, 22 May 2005 10:06:12 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] root:root and fbsd Message-ID: <20050522100612.53226d67@snowdrop> In-Reply-To: <200505221049.39924@enterprise.flameeyes.is-a-geek.org> References: <200505221049.39924@enterprise.flameeyes.is-a-geek.org> X-Mailer: Sylpheed-Claws 1.0.4a (GTK+ 1.2.10; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Signature_Sun__22_May_2005_10_06_12_+0100_Y52UcS6d1EiP7RfV; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Archives-Salt: 01d4d871-da07-4697-bf6a-6c4a29df1063 X-Archives-Hash: b984a0ccf45ec96b5e7e1d71dac499e7 --Signature_Sun__22_May_2005_10_06_12_+0100_Y52UcS6d1EiP7RfV Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, 22 May 2005 10:49:39 +0200 "Diego 'Flameeyes' Petten=F2" wrote: | So I was wondering for a solution for this problem: we have a | $USERLAND variable which can be used to select the way the chown must | be done, if chown root:root or chown root:wheel; I think both BSD and | Darwin userland prefers root:wheel above root:root, so maybe adding a | function in eutils which fixes the permissions based on the current | $USERLAND value is enough... get_root_group() { if use userland_bsd ; then echo "wheel" else echo "root" fi } maybe? The other option is to do a sneaky chown wrapper that automatically detects that kind of thing. I'm against that on general principle because it'll break too often. I'll unofficial-document whatever's decided upon, anyway. --=20 Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron) Mail : ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm --Signature_Sun__22_May_2005_10_06_12_+0100_Y52UcS6d1EiP7RfV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCkEuG96zL6DUtXhERApjmAJ9fbDRMYn4i8VeAQPOEOfGrmGuyIgCgvqLB JdF73cej1CovXUVN4hK7Cew= =1utY -----END PGP SIGNATURE----- --Signature_Sun__22_May_2005_10_06_12_+0100_Y52UcS6d1EiP7RfV-- -- gentoo-dev@gentoo.org mailing list