From: Zac Medico Date: Wed, 11 Mar 2009 06:32:12 +0000 (-0000) Subject: Don't give portage group write permissions on the mtimedb since it's not X-Git-Tag: v2.1.6.8~90 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6d89add2d76e49b0e43543692db357c2e8e106a4;p=portage.git Don't give portage group write permissions on the mtimedb since it's not really needed. (trunk r12738) svn path=/main/branches/2.1.6/; revision=12987 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 9e7b7a76d..4de1d0ad0 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -7504,7 +7504,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