Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > b39889d2cb68455a75705072386066bd > files > 3

putty-0.62-2.mga3.src.rpm

--- putty-20100504/unix/uxmisc.c.org	2010-05-19 15:39:00.927479235 +0800
+++ putty-20100504/unix/uxmisc.c	2010-05-19 15:39:32.027256092 +0800
@@ -144,7 +144,7 @@
 	assert(mode[0] == 'w');	       /* is_private is meaningless for read,
 					  and tricky for append */
 	fd = open(filename.path, O_WRONLY | O_CREAT | O_TRUNC,
-		      0700);
+		      0600);
 	if (fd < 0)
 	    return NULL;
 	return fdopen(fd, mode);