Fix write-out file permissions
This commit is contained in:
parent
689f94f889
commit
338c3bc11c
|
@ -3,7 +3,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char * argv[]) {
|
||||
int fd = open(argv[1], O_WRONLY | O_CREAT);
|
||||
int fd = open(argv[1], O_WRONLY | O_CREAT, 0666);
|
||||
|
||||
while (1) {
|
||||
char buf[1024];
|
||||
|
|
Loading…
Reference in New Issue