projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01b628f
)
Ensure a sane umask for repoman.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 18 Jul 2006 21:50:02 +0000
(21:50 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 18 Jul 2006 21:50:02 +0000
(21:50 -0000)
svn path=/main/trunk/; revision=3919
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index bcd0b4b94311fa78b551ec2280e15bf7ac9d3815..1af6981cbac98766f0d1cb9673dc652d30d61a11 100755
(executable)
--- 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 \