From f5b29d9ccc26baf6e888d4cec4f3aa3355b16023 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 26 Jan 1990 11:02:34 +0000 Subject: [PATCH] creat mode 666 --- modules/src/system/open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: