@@ -38,10 +38,12 @@ import re
import select
import shlex
import shutil
+import stat
import subprocess
import sys
import threading
+os.umask(stat.S_IWGRP | stat.S_IRWXO) # 027
# default locale
# will be used for all non-explicitly set LC_* variables
$LANG = 'en_US.UTF-8'