diff --git a/modules/src/system/open.c b/modules/src/system/open.c index 51dd2c59f..7491b8cce 100644 --- a/modules/src/system/open.c +++ b/modules/src/system/open.c @@ -38,7 +38,7 @@ sys_open(path, flag, filep) } /* Fall through */ case OP_WRITE: - if ((fd = creat(path, 0644)) < 0) + if ((fd = creat(path, 0666)) < 0) return 0; break; default: