projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87c0e3c
)
Bug #197797 - Set umask to 022 so that created files (such as the
author
Zac Medico
<zmedico@gentoo.org>
Tue, 20 Nov 2007 21:59:43 +0000
(21:59 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 20 Nov 2007 21:59:43 +0000
(21:59 -0000)
world file) have sane permissions.
svn path=/main/branches/2.1.2/; revision=8554
bin/emaint
patch
|
blob
|
history
diff --git
a/bin/emaint
b/bin/emaint
index 90809ee4fdc3834eae1a96f19557cbe8fb1e9e36..597527cdd04069408a06f439cc4c8993e8ed2659 100755
(executable)
--- a/
bin/emaint
+++ b/
bin/emaint
@@
-125,6
+125,10
@@
class VdbKeyHandler(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 = {"world" : WorldHandler}