Updating branch refs/heads/master
to af7d9428e702ee89a205fdc97aef3a5c6c288885 (commit)
from 3ed2046d5076cfadddf350b976e7786aac1f17eb (commit)
commit af7d9428e702ee89a205fdc97aef3a5c6c288885
Author: Enrico Tröger <[email protected]>
Date: Sun Jan 24 23:40:51 2010 +0100
Adjust permissions of saved logins to 0600 when saving logins
katze/katze-http-auth.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/katze/katze-http-auth.c b/katze/katze-http-auth.c
index eef0c6a..f21e14c 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
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits