Update of /cvsroot/tmda/tmda/TMDA
In directory sc8-pr-cvs1:/tmp/cvs-serv31779
Modified Files:
Deliver.py
Log Message:
Modified to use permissions set in Defaults.PENDING_FILE_PERM instead of a con-
stant 0600 on pending e-mail files.
Index: Deliver.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/Deliver.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Deliver.py 8 Nov 2002 20:31:17 -0000 1.7
+++ Deliver.py 28 Nov 2002 17:31:23 -0000 1.8
@@ -253,7 +253,7 @@
except OSError:
# Not running as root, can't chown file.
pass
- os.chmod(fname_tmp, 0600)
+ os.chmod(fname_tmp, Defaults.PENDING_FILE_PERM)
fp.write(message)
fp.flush()
os.fsync(fp.fileno())
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs