projects
/
mirror
/
userdir-ldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6040659
)
Fixed perms problem and mail aliases
author
jgg
<>
Fri, 24 Sep 1999 23:17:00 +0000
(23:17 +0000)
committer
jgg
<>
Fri, 24 Sep 1999 23:17:00 +0000
(23:17 +0000)
ud-generate
patch
|
blob
|
history
diff --git
a/ud-generate
b/ud-generate
index
a0d5d7c
..
d1773ff
100755
(executable)
--- a/
ud-generate
+++ b/
ud-generate
@@
-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;