diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-11-12 01:42:08 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-11-12 01:42:08 +0000 |
commit | 338adf929172e21a08484cb1a01d4607168400ae (patch) | |
tree | 07d3ae1fc2e0e31880ec7c31803ae68b38edca76 | |
parent | 11890e7047b42c3be6a9b2e88974fc6f16f58130 (diff) | |
download | portage-338adf929172e21a08484cb1a01d4607168400ae.tar.gz portage-338adf929172e21a08484cb1a01d4607168400ae.tar.bz2 portage-338adf929172e21a08484cb1a01d4607168400ae.zip |
Bug #197797 - Set umask to 022 so that created files (such as the
world file) have sane permissions.
svn path=/main/trunk/; revision=8491
-rwxr-xr-x | bin/emaint | 4 |
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 = { |