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

Bug 565718

Summary: Add usersync feature for repo.postsync.d hooks
Product: Portage Development Reporter: Christoph Junghans (RETIRED) <junghans>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: dolsen, esigra, srcshelton
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/hasufell/portage-gentoo-git-config/issues/16
https://bugs.gentoo.org/show_bug.cgi?id=905441
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 240187    

Description Christoph Junghans (RETIRED) gentoo-dev 2015-11-13 21:35:44 UTC
FEATURES="usersync" drops privileges to the owner of ${repository_location}, however scripts in repo.postsync.d are still run as root, which leads to strange effects like metadata generated by egencache after the sync being owned by root and owner of the ${repository_location}.

Some discussion has already been taken place here:
<https://github.com/hasufell/portage-gentoo-git-config/issues/16>