diff --git a/doc/api/process.markdown b/doc/api/process.markdown index 614f5cf07aa..ba0032509a2 100644 --- a/doc/api/process.markdown +++ b/doc/api/process.markdown @@ -708,7 +708,7 @@ Sets or reads the process's file mode creation mask. Child processes inherit the mask from the parent process. Returns the old mask if `mask` argument is given, otherwise returns the current mask. - var oldmask, newmask = 0644; + var oldmask, newmask = 0022; oldmask = process.umask(newmask); console.log('Changed umask from: ' + oldmask.toString(8) +