From 92365a7b5739a9cec34c824a6a8985f548504527 Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Sun, 23 Nov 2003 01:29:27 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2674 --- checkin_notes | 5 +++++ client/client_types.C | 3 +++ 2 files changed, 8 insertions(+) diff --git a/checkin_notes b/checkin_notes index edae1a3dd4..9f256383b5 100755 --- a/checkin_notes +++ b/checkin_notes @@ -7769,3 +7769,8 @@ Karl 2003-11-22 client/ cs_cmdline.C + + - chmod 600 the account file. + + client/ + client_types.C diff --git a/client/client_types.C b/client/client_types.C index 34d3e5a305..89712644b1 100644 --- a/client/client_types.C +++ b/client/client_types.C @@ -80,6 +80,9 @@ int PROJECT::write_account_file() { get_account_filename(master_url, path); f = fopen(TEMP_FILE_NAME, "w"); if (!f) return ERR_FOPEN; +#ifndef _WIN32 + chmod(TEMP_FILE_NAME, 0600); +#endif fprintf(f, "\n"