public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Ruskin <aoyu93@dsl.pipex.com>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Re: coreutils >=5.0.1 breaks chown user.group on new systems
Date: Tue, 7 Oct 2003 22:15:47 +0100	[thread overview]
Message-ID: <200310072215.47410.aoyu93@dsl.pipex.com> (raw)
In-Reply-To: <3F83294E.7020506@technaut.darktalker.net>

On Tuesday 07 Oct 2003 21:59, Andrew Gaffney wrote:
> John Mylchreest wrote:
> >>Let's say you've got a file, 'foo' that contains
> >>----CUT----
> >>chown root.root foo
> >>----CUT----
> >>
> >># echo "`cat foo | cut -d "." -f1`:`cat foo | cut -d "." -f2`"
> >>
> >>seems to work on the simple case.
> >>
> >>I'm sure someone can come up with a regex to match the
> >> dotted-chown.
> >
> > this is easily fixed using a simple sed, however when it comes down
> > to the actual ebuilds, this isnt a possibility.
>
> Why not?

Well, for a start it probably isn't always root.root, so how are you 
going to find a regex for all the cases?  You'd have to first look at 
all the chown entries (may even be more than one per line) and then 
decide how to handle it.

Peter
-- 
======================================================================
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 
2.4.22_pre2-gss)
i686 AMD Athlon(tm) XP 3200+
======================================================================


--
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2003-10-07 21:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-07 19:48 [gentoo-dev] coreutils >=5.0.1 breaks chown user.group on new systems Jeffrey Smelser
2003-10-07 20:00 ` Florian Schneider
2003-10-07 20:09   ` Mike Frysinger
2003-10-07 20:18     ` Andrew Gaffney
2003-10-07 20:23       ` [gentoo-dev] " Michael Sterrett -Mr. Bones.-
2003-10-07 20:46         ` Lisa Seelye
2003-10-07 20:52           ` John Mylchreest
2003-10-07 20:59             ` Andrew Gaffney
2003-10-07 21:15               ` Peter Ruskin [this message]
2003-10-07 21:17               ` John Mylchreest
2003-10-07 20:43     ` [gentoo-dev] " Florian Schneider
2003-10-07 20:48       ` John Mylchreest
2003-10-07 21:11         ` Florian Schneider
2003-10-07 21:18           ` Markus Nigbur
2003-10-07 21:25           ` Florian Schneider
2003-10-07 20:05 ` John Mylchreest

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=200310072215.47410.aoyu93@dsl.pipex.com \
    --to=aoyu93@dsl.pipex.com \
    --cc=gentoo-dev@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