mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 21:58:20 +00:00
syscalls: umask
This commit is contained in:
@@ -11,7 +11,7 @@ static int dochmod(vnode_t *node, mode_t mode) {
|
||||
if (e)
|
||||
return e;
|
||||
|
||||
attr.mode = mode;
|
||||
attr.mode = UMASK(mode);
|
||||
|
||||
return VOP_SETATTR(node, &attr, cred);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user