Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 164764

Summary: Enhnacement for euse (some groupless arguments)
Product: Gentoo Linux Reporter: phrexianreaper
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED NEEDINFO    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description phrexianreaper 2007-02-01 00:53:40 UTC
There wouldn't be any way to modify euse to no give the warning about not being in the portage group if, say, -i were to be used, but display said message if you use, say --prune.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-01 07:16:17 UTC
Err, what kind of warning?

$ euse -i php
global use flags (searching: php)
************************************************************
[-    ] php - Include support for php

local use flags (searching: php)
************************************************************
no matching entries found

$ whoami
test

$ id
uid=1011(test) gid=1011(test) groups=1011(test)
Comment 2 phrexianreaper 2007-02-01 07:29:19 UTC
[~] $
euse -i php
global use flags (searching: php)
************************************************************

*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.

*** WARNING ***  For security reasons, only system administrators should be
*** WARNING ***  allowed in the portage group.  Untrusted users or processes
*** WARNING ***  can potentially exploit the portage group for attacks such as
*** WARNING ***  local privilege escalation.

[+ C  ] php - Include support for php

local use flags (searching: php)
************************************************************
no matching entries found

whoami
wrr

uid=1000(wrr) gid=1000(wrr) groups=10(wheel),18(audio),19(cdrom),27(video),35(games),100(users),1000(wrr)

that warning. Half of it is bright red, too, but thats not the problem.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-01 07:36:36 UTC
This doesn't come from euse at all, it's a portage warning. Upgrade to 2.1.2.
Comment 4 phrexianreaper 2007-02-01 22:52:14 UTC
When it goes stable I will. Some things I don't want to mess with if they are a bit too system critical. Apprecate the responce.