File dx-4.4.4-open.patch of Package dx

--- src/exec/libdx/fileio.c
+++ src/exec/libdx/fileio.c
@@ -263,7 +263,7 @@
 	case 2:/* read/write */
 		fd = open(name, O_RDWR);
 		if (fd < 0) {
-			fd = open(name, O_WRONLY | O_CREAT);
+			fd = open(name, O_WRONLY | O_CREAT, 0660);
 			if (fd < 0) {
 				DXSetError(ERROR_DATA_INVALID, 
 				"can't open/create file '%s'", name);