Don't give portage group write permissions on the mtimedb since it's not
authorZac Medico <zmedico@gentoo.org>
Sun, 1 Mar 2009 21:06:37 +0000 (21:06 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 1 Mar 2009 21:06:37 +0000 (21:06 -0000)
really needed.

svn path=/main/trunk/; revision=12738

pym/portage/__init__.py

index faf549ff61d1818e000e8c5ec367f57235b13221..7fc3160d9f7ba346800aa4ea9b5d78b53965311d 100644 (file)
@@ -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