public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Make the user the member of portage group or not?
Date: Fri, 13 Mar 2015 06:42:08 -0400	[thread overview]
Message-ID: <20150313104208.GA11261@waltdnes.org> (raw)
In-Reply-To: <20150313050816.9b67c90d50d7cdf5a553d81e@gmail.com>

On Fri, Mar 13, 2015 at 05:08:16AM -0400, German wrote
> Question is in the subject line.

  If the user is a member of portage he can do any emerge operation as
long as the command includes "--pretend" or "-p"

[d531][waltdnes][~] emerge -pv ufraw    

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-gfx/ufraw-0.20-r1  USE="-contrast -fits -gimp
-gnome -gtk -openmp -timezone" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


  However, the regular user is not allowed to actually emerge or unmerge
anything.  E.g...

[d531][waltdnes][~] emerge -v ufraw
emerge: superuser access is required


  The idea is to allow the user to find out what he would have to do if
he wanted to emerge/unmerge something.

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


  parent reply	other threads:[~2015-03-13 10:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-13  9:08 [gentoo-user] Make the user the member of portage group or not? German
2015-03-13  9:25 ` Neil Bothwick
2015-03-13 10:42 ` Walter Dnes [this message]
2015-03-13 10:51   ` German
2015-03-13 12:19   ` [gentoo-user] " Nikos Chantziaras
2015-03-13 12:33   ` [gentoo-user] " Neil Bothwick
2015-03-13 21:49     ` [gentoo-user] " Nikos Chantziaras
2015-03-13 22:21       ` Neil Bothwick
2015-03-14 12:40 ` [gentoo-user] " Andreas K. Huettel

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=20150313104208.GA11261@waltdnes.org \
    --to=waltdnes@waltdnes.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