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

Bug 131754

Summary: etc-update: config file to update disappear when used by an user
Product: Portage Development Reporter: kiraa <kiraa>
Component: ToolsAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description kiraa 2006-04-29 22:22:03 UTC
#sigrun is a regular user whith sudo right (and wheel group)
#i don't think its especially related to the emerge of _portage_ but i show it
 
sigrun@midgard ~ $ sudo emerge -avtu portage
 [...] 
 * GNU info directory index is up-to-date.
 * IMPORTANT: 1 config files in /etc need updating.
 * Type emerge --help config to learn how to update config files.

sigrun@midgard ~ $ etc-update

*** 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.

!!! Directory initialization failed: '/var/lib/portage'
!!! "chown('/var/lib/portage', -1, 250)"
!!! Directory initialization failed: '/var/lib/portage'
!!! "chown('/var/lib/portage', -1, 250)"

*** 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.

!!! Directory initialization failed: '/var/lib/portage'
!!! "chown('/var/lib/portage', -1, 250)"
!!! Directory initialization failed: '/var/lib/portage'
!!! "chown('/var/lib/portage', -1, 250)"

*** 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.

!!! Directory initialization failed: '/var/lib/portage'
!!! "chown('/var/lib/portage', -1, 250)"
!!! Directory initialization failed: '/var/lib/portage'
!!! "chown('/var/lib/portage', -1, 250)"
Scanning Configuration files...
find: /etc/cups/certs: Permission denied
Automerging trivial changes in: make.conf.example
mv: overwrite `/etc/make.conf.example', overriding mode 0644? n
Exiting: Nothing left to do; exiting. :)
sigrun@midgard ~ $ sudo etc-update
Scanning Configuration files...
Automerging trivial changes in: make.conf.example
Exiting: Nothing left to do; exiting. :)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-30 00:31:36 UTC
Portage version misssing...
Comment 2 kiraa 2006-05-01 00:50:01 UTC
sorry , its the 2.1_pre10
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-01 01:11:30 UTC
Reopen...
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2006-05-01 01:55:18 UTC
yeah, we really shouldn't allow to run it as non-root

*** This bug has been marked as a duplicate of 68612 ***