public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gregory M. Turner" <gmt@malth.us>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] CWD-relative ROOT support in portage: misfeature?
Date: Sun, 19 Aug 2012 08:00:54 -0700	[thread overview]
Message-ID: <5030FFA6.9090200@malth.us> (raw)
In-Reply-To: <69F54735-B17B-44A5-9FF6-B5538E374619@gentoo.org>

On 8/18/2012 5:50 PM, Ian Stakenvicius wrote:
>
> On 2012-08-17, at 11:00 PM, "Gregory M. Turner" <gmt@malth.us> wrote:
>
>>   greg@fedora64vmw /tmp $ mkdir foo
>>   greg@fedora64vmw /tmp $ ROOT=foo portageq envvar ROOT
>>   /tmp/foo/
>>
>> Does /anybody/ use this feature?
>
> Sorry for the HTML response... am on the road.
>
> I don't use the feature but I would fully expect said behavior. ie, going with the example above I would expect that I'd need   the / in front for the path to not be relative.

A user and maintainer of this (vapier) has emerged.  I pooh-poohed the 
relative-ROOT idea when I discovered it a few days ago, but I've 
flip-flopped.  I was concerned it would be exploitable by Bad 
People(tm), but I think it's no more exploitable than absolute-only 
ROOT, so long as its implemented correctly.

So far, nobody's turned up to advocate against the status quo (except 
me, but I'm fine with it now), so I think the matter can be considered 
resolved.

-gmt



      reply	other threads:[~2012-08-19 15:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-18  3:00 [gentoo-dev] CWD-relative ROOT support in portage: misfeature? Gregory M. Turner
2012-08-19  0:50 ` Ian Stakenvicius
2012-08-19 15:00   ` Gregory M. Turner [this message]

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=5030FFA6.9090200@malth.us \
    --to=gmt@malth.us \
    --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