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