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

Bug 277970

Summary: sys-apps/portage: when usersync is set in FEATURES, portage requires that everything in PORTDIR belong to the owner of PORTDIR
Product: Portage Development Reporter: Fab <netbox253>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 472632, 477682    
Attachments: emerge --info
output of emerge --sync

Description Fab 2009-07-15 18:17:01 UTC
Few days ago I added usersync to FEATURES. Please have a look to the attached emerge --sync log.


For example :

rsync: failed to set times on "/usr/portage/sci-biology/phred": Operation not permitted (1)


Yes, because :

$ ls -l /usr/portage/sci-biology/ | grep phred
drwxr-xr-x 2 root    root    4096 févr. 27 01:07 phred


It is owned by root.

Reproducible: Always
Comment 1 Fab 2009-07-15 18:17:44 UTC
Created attachment 198085 [details]
emerge --info
Comment 2 Fab 2009-07-15 18:18:43 UTC
Created attachment 198087 [details]
output of emerge --sync
Comment 3 Zac Medico gentoo-dev 2009-07-16 20:33:20 UTC
It would be a waste of resources to check all permissions every time. I think we only need to document the initial permissions setup that is required.
Comment 5 Zac Medico gentoo-dev 2013-07-26 07:10:27 UTC
This is fixed in 2.1.13 and 2.2.0_alpha189.