From: ceriel Date: Fri, 26 Jan 1990 11:02:34 +0000 (+0000) Subject: creat mode 666 X-Git-Tag: release-5-5~1868 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f5b29d9ccc26baf6e888d4cec4f3aa3355b16023;p=ack.git creat mode 666 --- 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: