Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 42aa4e2df41415a6ed423de0267777a3 > files > 3

putty-0.61-1.1.mga1.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);