From: Zac Medico Date: Sun, 1 Mar 2009 21:06:37 +0000 (-0000) Subject: Don't give portage group write permissions on the mtimedb since it's not X-Git-Tag: v2.2_rc24~77 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=35db7995ca8762d7faa3e2b9b6201f6b0c00fcb2;p=portage.git Don't give portage group write permissions on the mtimedb since it's not really needed. svn path=/main/trunk/; revision=12738 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index faf549ff6..7fc3160d9 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -7517,7 +7517,8 @@ def commit_mtimedb(mydict=None, filename=None): f = atomic_ofstream(filename, mode='wb') pickle.dump(d, f, -1) f.close() - portage.util.apply_secpass_permissions(filename, uid=uid, gid=portage_gid, mode=0664) + portage.util.apply_secpass_permissions(filename, + uid=uid, gid=portage_gid, mode=0644) except (IOError, OSError), e: pass