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"