From: Zac Medico Date: Mon, 25 Dec 2006 05:42:45 +0000 (-0000) Subject: Drop the warning messages for users that aren't in the portage group since tpordbapi... X-Git-Tag: v2.1.2~219 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c35a6d0e825e72b8779610ae2a647ca903efe4da;p=portage.git 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 --- 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():