From af7d9428e702ee89a205fdc97aef3a5c6c288885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 24 Jan 2010 23:40:51 +0100 Subject: [PATCH] Adjust permissions of saved logins to 0600 when saving logins --- katze/katze-http-auth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/katze/katze-http-auth.c b/katze/katze-http-auth.c index eef0c6a0..f21e14c1 100644 --- a/katze/katze-http-auth.c +++ b/katze/katze-http-auth.c @@ -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