From 38218b2dd42477650c0a9559b25a5b09d8f74080 Mon Sep 17 00:00:00 2001 From: Michael Hampton Date: Fri, 14 Dec 2001 08:29:30 +0000 Subject: [PATCH] * Security: trace file is now only readable by owner, since it contains plain text passwords. --- citadel/ChangeLog | 5 ++++- citadel/server_main.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 8457ec2f7..5958d7d5a 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,8 @@ $Log$ + Revision 590.7 2001/12/14 08:29:30 error + * Security: trace file is now only readable by owner, since it contains + plain text passwords. + Revision 590.6 2001/12/14 07:04:24 ajc * Now you can send mail to yourself. Hi from Stu. @@ -2960,4 +2964,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import - diff --git a/citadel/server_main.c b/citadel/server_main.c index 9cf80d5f5..8cd53e9b7 100644 --- a/citadel/server_main.c +++ b/citadel/server_main.c @@ -87,6 +87,7 @@ int main(int argc, char **argv) freopen(tracefile, "r", stdin); freopen(tracefile, "w", stdout); freopen(tracefile, "w", stderr); + chmod(tracefile, 0600); } /* run in the background if -d was specified */ -- 2.39.2