提交 9e691497 编写于 作者: J JING 提交者: Gitee

update fs/vfs/fs_open.c.

上级 9132f707
......@@ -347,7 +347,7 @@ int do_open(int dirfd, const char *path, int oflags, mode_t mode)
if ((oflags & (O_WRONLY | O_CREAT)) != 0)
{
mode &= ~GetUmask();
mode &= (S_IRWXU|S_IRWXG|S_IRWXO);
mode &= (S_IRWXU | S_IRWXG | S_IRWXO);
}
fd = fp_open(fullpath, oflags, mode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册