summaryrefslogtreecommitdiffstats
path: root/bin/emaint
diff options
context:
space:
mode:
Diffstat (limited to 'bin/emaint')
-rwxr-xr-xbin/emaint4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/emaint b/bin/emaint
index 7d62bea0c..d9f74a225 100755
--- 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 = {