summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-01 21:06:37 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-01 21:06:37 +0000
commit35db7995ca8762d7faa3e2b9b6201f6b0c00fcb2 (patch)
tree6ae92e382767fe5fa615e3ed6c0c8b4c1fe634bb
parent0fd611deddcec58a2bab9b2d1351d05293cb84a5 (diff)
downloadportage-35db7995ca8762d7faa3e2b9b6201f6b0c00fcb2.tar.gz
portage-35db7995ca8762d7faa3e2b9b6201f6b0c00fcb2.tar.bz2
portage-35db7995ca8762d7faa3e2b9b6201f6b0c00fcb2.zip
Don't give portage group write permissions on the mtimedb since it's not
really needed. svn path=/main/trunk/; revision=12738
-rw-r--r--pym/portage/__init__.py3
1 files changed, 2 insertions, 1 deletions
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