diff options
author | Alec Warner <antarus@gentoo.org> | 2006-05-14 21:07:09 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2006-05-14 21:07:09 +0000 |
commit | 36930e225de6998d03fed9269738cab71d36958f (patch) | |
tree | 0333156306525027eddd1c2041968fe4eac5ce45 | |
parent | 6ab80303472e7c4db134faf600852a968634fb4e (diff) | |
download | portage-36930e225de6998d03fed9269738cab71d36958f.tar.gz portage-36930e225de6998d03fed9269738cab71d36958f.tar.bz2 portage-36930e225de6998d03fed9269738cab71d36958f.zip |
Wheel != secpass=1, so kill it. Wheel grants you nothing wrt portage perms.
svn path=/main/trunk/; revision=3353
-rw-r--r-- | pym/portage_data.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pym/portage_data.py b/pym/portage_data.py index f92c7ace1..760ab3ea2 100644 --- a/pym/portage_data.py +++ b/pym/portage_data.py @@ -58,8 +58,6 @@ if uid==0: secpass=2 try: wheelgid=grp.getgrnam("wheel")[2] - if (not secpass) and (wheelgid in os.getgroups()): - secpass=1 except KeyError: writemsg("portage initialization: your system doesn't have a 'wheel' group.\n") writemsg("Please fix this as it is a normal system requirement. 'wheel' is GID 10\n") @@ -75,7 +73,7 @@ try: secpass=1 except KeyError: portage_uid=0 - portage_gid=wheelgid + portage_gid=0 writemsg("\n") writemsg( red("portage: 'portage' user or group missing. Please update baselayout\n")) writemsg( red(" and merge portage user(250) and group(250) into your passwd\n")) @@ -94,4 +92,3 @@ if (uid!=0) and (portage_gid not in os.getgroups()): writemsg(red("*** due to permissions preventing the creation of the on-disk cache.\n")) writemsg(red("*** Please add this user to the portage group if you wish to use portage.\n")) writemsg("\n") - |