From 35db7995ca8762d7faa3e2b9b6201f6b0c00fcb2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 1 Mar 2009 21:06:37 +0000 Subject: [PATCH] Don't give portage group write permissions on the mtimedb since it's not really needed. svn path=/main/trunk/; revision=12738 --- 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 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 -- 2.26.2