Adjust permissions of saved logins to 0600 when saving logins

This commit is contained in:
Enrico Tröger 2010-01-24 23:40:51 +01:00 committed by Christian Dywan
parent 3ed2046d50
commit af7d9428e7

View file

@ -110,6 +110,7 @@ authentication_message_got_headers_cb (SoupMessage* msg,
fprintf (file, "%s\t%s\t%s\n", opaque_info,
login->username, login->password);
fclose (file);
g_chmod (save->http_auth->filename, 0600);
}
}
else