public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: /var/cache/edb
Date: Wed, 14 Dec 2016 17:31:59 -0500	[thread overview]
Message-ID: <CAGfcS_nFdKcfMiLHyPc+_DR-+gmosFVMdCUEqnnssKx_58Vkaw@mail.gmail.com> (raw)
In-Reply-To: <20161214221429.6078.34AFCD6E@matica.foolinux.mooo.com>

On Wed, Dec 14, 2016 at 5:25 PM, Ian Zimmerman <itz@primate.net> wrote:
>
> The true reason the directory bothers me is its permissions, and those
> of the files inside.  They seem to be created as portage:portage, 0660.
> Why is root:root 0640 not good enough for them?  Does that mean some
> part of portage runs setuid/setgid to the portage user/group?
>

Yes, this is a security feature (which you can turn off in FEATURES).
It reduces the impact of rogue Makefiles and such.

-- 
Rich


  reply	other threads:[~2016-12-14 22:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-14  3:59 [gentoo-user] /var/cache/edb Ian Zimmerman
2016-12-14  4:19 ` Mike Gilbert
2016-12-14 22:25   ` [gentoo-user] /var/cache/edb Ian Zimmerman
2016-12-14 22:31     ` Rich Freeman [this message]
2016-12-14 22:45     ` Mike Gilbert

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=CAGfcS_nFdKcfMiLHyPc+_DR-+gmosFVMdCUEqnnssKx_58Vkaw@mail.gmail.com \
    --to=rich0@gentoo.org \
    --cc=gentoo-user@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