mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2674
This commit is contained in:
parent
c3b76a9f00
commit
92365a7b57
|
@ -7769,3 +7769,8 @@ Karl 2003-11-22
|
|||
|
||||
client/
|
||||
cs_cmdline.C
|
||||
|
||||
- chmod 600 the account file.
|
||||
|
||||
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,
|
||||
"<account>\n"
|
||||
|
|
Loading…
Reference in New Issue