From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC09D138330 for ; Mon, 19 Sep 2016 16:57:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 021C5E0B24; Mon, 19 Sep 2016 16:57:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84AC2E0B24 for ; Mon, 19 Sep 2016 16:57:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2AD7A340A15 for ; Mon, 19 Sep 2016 16:57:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4AE402464 for ; Mon, 19 Sep 2016 16:57:16 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1474303316.d10bafb2c84be84ee47a2204938df4b3b9f238c0.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/cache/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/cache/fs_template.py X-VCS-Directories: pym/portage/cache/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: d10bafb2c84be84ee47a2204938df4b3b9f238c0 X-VCS-Branch: master Date: Mon, 19 Sep 2016 16:57:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fc4c96b5-62c3-4dab-8bf5-1a9db45a170c X-Archives-Hash: d0cc7c78573a3dc80c7cfbc570e447d0 commit: d10bafb2c84be84ee47a2204938df4b3b9f238c0 Author: Zac Medico gentoo org> AuthorDate: Mon Sep 19 16:39:38 2016 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Sep 19 16:41:56 2016 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=d10bafb2 cache.fs_template: set 0o644 defaut perms Fixes 5652bc88514b ("flat_hash: use mkstemp in _setitem) X-Gentoo-Bug: 594358 X-Gentoo-Bug-URL: https://bugs.gentoo.org/594358 pym/portage/cache/fs_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/cache/fs_template.py b/pym/portage/cache/fs_template.py index fa44abc..e3c3c12 100644 --- a/pym/portage/cache/fs_template.py +++ b/pym/portage/cache/fs_template.py @@ -24,7 +24,7 @@ class FsBased(template.database): def __init__(self, *args, **config): - for x, y in (("gid", -1), ("perms", -1)): + for x, y in (("gid", -1), ("perms", 0o644)): if x in config: # Since Python 3.4, chown requires int type (no proxies). setattr(self, "_" + x, int(config[x]))