M
process.umask
History
Added in: v0.1.19
v0.1.19
Introduced in: v0.10.0
v0.10.0
Calling
process.umask() with no arguments is deprecated.v14.0.0, v12.19.0
process.umask(): void
Stability: 0Deprecated. Calling
process.umask() with no argument causes
the process-wide umask to be written twice. This introduces a race condition
between threads, and is a potential security vulnerability. There is no safe,
cross-platform alternative API.process.umask() returns the Node.js process's file mode creation mask. Child
processes inherit the mask from the parent process.