Blob Blame Raw
--- PAR-Packer-0.991/myldr/static.c.orig	2009-09-21 17:29:38.000000000 +0200
+++ PAR-Packer-0.991/myldr/static.c	2009-09-21 17:28:42.000000000 +0200
@@ -31,7 +31,7 @@
         if ( (unsigned long)PL_statbuf.st_size == size ) return -2;
     }
 
-    i = open(my_file, O_CREAT | O_WRONLY | OPEN_O_BINARY);
+    i = open(my_file, O_CREAT | O_WRONLY | OPEN_O_BINARY, 0777);
 
     if (i == -1) {
         fprintf(stderr, "%s: creation of %s failed - aborting with %i.\n", argv0, my_file, errno);