Blame SOURCES/sed-fuse.patch

41f535
diff --git a/sed/utils.c b/sed/utils.c
41f535
index 4028d98..2e74654 100644
41f535
--- a/sed/utils.c
41f535
+++ b/sed/utils.c
41f535
@@ -181,7 +181,7 @@ ck_mkstemp (char **p_filename, const char *tmpdir,
41f535
    /* The ownership might change, so omit some permissions at first
41f535
       so unauthorized users cannot nip in before the file is ready.
41f535
       mkstemp forces O_BINARY on cygwin, so use mkostemp instead.  */
41f535
-  mode_t save_umask = umask (0700);
41f535
+  mode_t save_umask = umask (0077);
41f535
   int fd = mkostemp (template, 0);
41f535
   umask (save_umask);
41f535
   if (fd == -1)