Fixed perms problem and mail aliases
authorjgg <>
Fri, 24 Sep 1999 23:17:00 +0000 (23:17 +0000)
committerjgg <>
Fri, 24 Sep 1999 23:17:00 +0000 (23:17 +0000)
ud-generate

index a0d5d7c..d1773ff 100755 (executable)
@@ -174,8 +174,10 @@ def GenForward(l,File,Allowed):
   F = None;
   Fdb = None;
   try:
-   F = open(File + ".tmp","w");
+   OldMask = os.umask(0022);
+   F = open(File + ".tmp","w",0644);
    Fdb = None;
+   os.umask(OldMask);
 
    # Fetch all the users
    global PasswdAttrs;