Merged from trunk 5113:5119
authorFabian Groffen <grobian@gentoo.org>
Wed, 22 Nov 2006 18:38:15 +0000 (18:38 -0000)
committerFabian Groffen <grobian@gentoo.org>
Wed, 22 Nov 2006 18:38:15 +0000 (18:38 -0000)
commit023d9c5a3dd13162da50c997d691b0a793359515
tree551806fe14deea1d91f4a7bda9472110d5bd4e9a
parent75cc75bdea8bf6c684783f6bfcb750a9d6c80a3f
Merged from trunk 5113:5119

For bug #142993, make sure that chown and chgrp calls preserve S_ISUID
and S_ISGID mode bits.

Fix apply_permissions logic for cases where mode is unspecified.

Fix bit mask support when preserving S_ISUID and S_ISGID in
apply_permissions.
Really fix bit mask support when preserving S_ISUID and S_ISGID in
apply_permissions.

Fix a KeyError in emerge --info <pkg> when there is no matching ebuild
in the tree.  Thanks to Bo ?\195?\152rsted Andresen
<bo.andresen@zlin.dk> for reporting.

Use portage_data.lchown for compatibility.

svn path=/main/branches/prefix/; revision=5120
bin/emerge
pym/portage.py
pym/portage_util.py