public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaranm@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] root:root and fbsd
Date: Sun, 22 May 2005 10:06:12 +0100	[thread overview]
Message-ID: <20050522100612.53226d67@snowdrop> (raw)
In-Reply-To: <200505221049.39924@enterprise.flameeyes.is-a-geek.org>

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

On Sun, 22 May 2005 10:49:39 +0200 "Diego 'Flameeyes' Pettenò"
<flameeyes@gentoo.org> 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.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail            : ciaranm at gentoo.org
Web             : http://dev.gentoo.org/~ciaranm


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-05-22  9:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-22  8:49 [gentoo-dev] root:root and fbsd Diego 'Flameeyes' Pettenò
2005-05-22  9:06 ` Ciaran McCreesh [this message]
2005-05-22  9:20   ` Diego 'Flameeyes' Pettenò
2005-05-22 15:04     ` Kito
2005-05-22 11:27   ` Mike Frysinger
2005-05-22  9:09 ` Stuart Longland
2005-05-24 20:26   ` Diego 'Flameeyes' Pettenò
2005-05-24 21:51     ` Mike Frysinger
2005-05-22 14:38 ` Alec Warner
2005-05-22 14:48   ` Diego 'Flameeyes' Pettenò
2005-05-23 16:23 ` Grant Goodyear
2005-05-23 17:22   ` Mike Frysinger
2005-05-25 10:12 ` Paul de Vrieze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050522100612.53226d67@snowdrop \
    --to=ciaranm@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox