projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11890e7
)
Bug #197797 - Set umask to 022 so that created files (such as the
author
Zac Medico
<zmedico@gentoo.org>
Mon, 12 Nov 2007 01:42:08 +0000
(
01:42
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 12 Nov 2007 01:42:08 +0000
(
01:42
-0000)
world file) have sane permissions.
svn path=/main/trunk/; revision=8491
bin/emaint
patch
|
blob
|
history
diff --git
a/bin/emaint
b/bin/emaint
index 7d62bea0c2f241eda4643a95a25176f4f0620fb8..d9f74a2251f9f701dc82f61296ba6711d7b3b007 100755
(executable)
--- a/
bin/emaint
+++ b/
bin/emaint
@@
-414,6
+414,10
@@
class CleanResume(object):
def emaint_main(myargv):
+ # Similar to emerge, emaint needs a default umask so that created
+ # files (such as the world file) have sane permissions.
+ os.umask(022)
+
# TODO: Create a system that allows external modules to be added without
# the need for hard coding.
modules = {