creat mode 666
This commit is contained in:
parent
343c5872eb
commit
f5b29d9ccc
|
@ -38,7 +38,7 @@ sys_open(path, flag, filep)
|
||||||
}
|
}
|
||||||
/* Fall through */
|
/* Fall through */
|
||||||
case OP_WRITE:
|
case OP_WRITE:
|
||||||
if ((fd = creat(path, 0644)) < 0)
|
if ((fd = creat(path, 0666)) < 0)
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue