Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > e4daa0059f964b976ca0d4f2703b1df7 > files > 4

fetchmail-6.2.5-10.4.102mdk.src.rpm

--- fetchmailconf~	2005-11-09 13:21:58.022723429 -0700
+++ fetchmailconf	2005-11-09 13:21:58.022723429 -0700
@@ -863,7 +863,9 @@
 	    # Pre-1.5.2 compatibility...
 	    except os.error:
 		pass
+	    oldumask = os.umask(077)
 	    fm = open(self.outfile, 'w')
+	    os.umask(oldumask)
 	if fm:
 	    fm.write("# Configuration created %s by fetchmailconf\n" % time.ctime(time.time()))
 	    fm.write(`self.configuration`)