|
|
@ -117,7 +117,7 @@ function fixWinEPERM (p, options, er, cb) { |
|
|
|
assert(er instanceof Error) |
|
|
|
} |
|
|
|
|
|
|
|
options.chmod(p, 666, er2 => { |
|
|
|
options.chmod(p, 0o666, er2 => { |
|
|
|
if (er2) { |
|
|
|
cb(er2.code === 'ENOENT' ? null : er) |
|
|
|
} else { |
|
|
@ -144,7 +144,7 @@ function fixWinEPERMSync (p, options, er) { |
|
|
|
} |
|
|
|
|
|
|
|
try { |
|
|
|
options.chmodSync(p, 666) |
|
|
|
options.chmodSync(p, 0o666) |
|
|
|
} catch (er2) { |
|
|
|
if (er2.code === 'ENOENT') { |
|
|
|
return |
|
|
|