From 36930e225de6998d03fed9269738cab71d36958f Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Sun, 14 May 2006 21:07:09 +0000 Subject: [PATCH] Wheel != secpass=1, so kill it. Wheel grants you nothing wrt portage perms. svn path=/main/trunk/; revision=3353 --- pym/portage_data.py | 5 +---- 1 file changed, 1 insertion(+), 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") - -- 2.26.2