From 3c06b6dbe3923c1eb6943b8fbae65beab2434757 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 18 Jul 2006 21:50:02 +0000 Subject: [PATCH] Ensure a sane umask for repoman. svn path=/main/trunk/; revision=3919 --- bin/repoman | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/repoman b/bin/repoman index bcd0b4b94..1af6981cb 100755 --- a/bin/repoman +++ b/bin/repoman @@ -46,7 +46,8 @@ from fileinput import input from grp import getgrnam from stat import S_ISDIR, ST_CTIME, ST_GID, ST_MTIME - +# A sane umask is needed for files that portage creates. +os.umask(022) trees = portage.create_trees() settings = trees["/"]["porttree"].settings if settings.get("NOCOLOR", None) in ("yes", "true") or \ -- 2.26.2