Summary: | using uid vc userame during tbz2 extraction | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Vitaly Kushneriuk (RETIRED) <vitaly> |
Component: | Unclassified | Assignee: | Geert Bevin <gbevin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | drobbins |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Vitaly Kushneriuk (RETIRED)
2002-01-30 05:45:19 UTC
Checking the code I found the following observations. The creation of the binary packages is done in ebuild.sh in the dyn_package function. The archive is created with 'tar cvf' which should by default preserve user names and not user uids. The extraction takes place in portage.py in the pkgmerge function. The archive is extracted with 'tar xpf' which also should preserve the user names. According to the tar man page numeric uids are used when the --numeric-owner option is provided. Maybe the -p option silently includes it. Someone any comments? Pretty sure you're right, Geert. Looks like a "worksforme" |