open_write also didn't specify mode 0644
This commit is contained in:
parent
e071743ea8
commit
41e7e1f2a2
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user