Don't give portage group write permissions on the mtimedb since it's not
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:32:12 +0000 (06:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:32:12 +0000 (06:32 -0000)
really needed. (trunk r12738)

svn path=/main/branches/2.1.6/; revision=12987

pym/portage/__init__.py

index 9e7b7a76d559fc6501dd3608679d86f24dc29b58..4de1d0ad0f1043bc0e087f9540506771738870fa 100644 (file)
@@ -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