summaryrefslogtreecommitdiffstats
path: root/pym/portage_data.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-25 05:42:45 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-25 05:42:45 +0000
commitc35a6d0e825e72b8779610ae2a647ca903efe4da (patch)
tree00139aae0fb4c1bdd1bb0e796235c2c6ef2e54e2 /pym/portage_data.py
parentd65a3d116c7fe90b8332a994b7456b3ebb236ee2 (diff)
downloadportage-c35a6d0e825e72b8779610ae2a647ca903efe4da.tar.gz
portage-c35a6d0e825e72b8779610ae2a647ca903efe4da.tar.bz2
portage-c35a6d0e825e72b8779610ae2a647ca903efe4da.zip
Drop the warning messages for users that aren't in the portage group since tpordbapi now correctly puts the on-disk cache into readonly mode in this case (and allows metadata generation in-memory if necessary).
svn path=/main/trunk/; revision=5387
Diffstat (limited to 'pym/portage_data.py')
-rw-r--r--pym/portage_data.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/pym/portage_data.py b/pym/portage_data.py
index ba6000f94..649b54dd8 100644
--- a/pym/portage_data.py
+++ b/pym/portage_data.py
@@ -102,14 +102,6 @@ except KeyError:
writemsg("\n")
portage_group_warning()
-if (uid!=0) and (portage_gid not in os.getgroups()):
- writemsg("\n")
- writemsg(red("*** You are not in the portage group. You may experience cache problems\n"))
- 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")
- portage_group_warning()
-
userpriv_groups = [portage_gid]
if secpass >= 2:
for g in grp.getgrall():