Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565718 - Add usersync feature for repo.postsync.d hooks
Summary: Add usersync feature for repo.postsync.d hooks
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 240187
  Show dependency tree
 
Reported: 2015-11-13 21:35 UTC by Christoph Junghans (RETIRED)
Modified: 2023-12-14 08:58 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>