diff --git a/open/open_write.c b/open/open_write.c index 86f373e..4027d06 100644 --- a/open/open_write.c +++ b/open/open_write.c @@ -3,5 +3,5 @@ #include "open.h" extern int open_write(const char *filename) { - return open(filename,O_WRONLY|O_CREAT|O_NDELAY); + return open(filename,O_WRONLY|O_CREAT|O_NDELAY,0644); }