creat mode 666

This commit is contained in:
ceriel 1990-01-26 11:02:34 +00:00
parent 343c5872eb
commit f5b29d9ccc

View file

@ -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: