diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-07-18 21:50:02 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-07-18 21:50:02 +0000 |
commit | 3c06b6dbe3923c1eb6943b8fbae65beab2434757 (patch) | |
tree | b655970f333f76ccb7188e279d18d18a332573ce | |
parent | 01b628f814d0a9bc3bc5bf0854410285216c4aed (diff) | |
download | portage-3c06b6dbe3923c1eb6943b8fbae65beab2434757.tar.gz portage-3c06b6dbe3923c1eb6943b8fbae65beab2434757.tar.bz2 portage-3c06b6dbe3923c1eb6943b8fbae65beab2434757.zip |
Ensure a sane umask for repoman.
svn path=/main/trunk/; revision=3919
-rwxr-xr-x | bin/repoman | 3 |
1 files changed, 2 insertions, 1 deletions
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 \ |