Summary: | sys-apps/portage-2.1.8.3: FEATURES=usersync does not drop to portage user for first invocation of rsync | ||
---|---|---|---|
Product: | Portage Development | Reporter: | account-removed <account-removed-45355523de54daeefec3d27ef1e82c49> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | Sparc64 | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic-t-835097.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 335925 |
Description
account-removed
2010-07-08 16:31:53 UTC
(In reply to comment #0) > It seems that only for initial invocation of rsync (the one for timestamp) > root is used. It's writing to a temp file here, so we just need to ensure that the temp file is writable by the appropriate user before we drop privileges. This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=2428b8cbc8f90415532a7777f70bbefeb3c1b8cc This is in 2.2_rc68, but I'll leave this bug open until it's in an unmasked version. This is fixed in 2.1.9. |