Browse Source

umask 027

Fabian Peter Hammerle 5 years ago
parent
commit
5063f99c17
1 changed files with 2 additions and 0 deletions
  1. 2 0
      rc.xsh

+ 2 - 0
rc.xsh

@@ -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'