]> code.delx.au - gnu-emacs/blobdiff - src/unexmacosx.c
Simplify unexec file mode setting
[gnu-emacs] / src / unexmacosx.c
index 2e1ac880d2a94b5ba3d078044f87babdc873bdce..89971bb8a771a4904cb985ad9a76104fbd819d29 100644 (file)
@@ -1267,7 +1267,7 @@ unexec (const char *outfile, const char *infile)
       unexec_error ("cannot open input file `%s'", infile);
     }
 
-  outfd = emacs_open (outfile, O_WRONLY | O_TRUNC | O_CREAT, 0755);
+  outfd = emacs_open (outfile, O_WRONLY | O_TRUNC | O_CREAT, 0777);
   if (outfd < 0)
     {
       emacs_close (infd);