From 6d89add2d76e49b0e43543692db357c2e8e106a4 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 Mar 2009 06:32:12 +0000 Subject: [PATCH] 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 --- pym/portage/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.26.2