nl_tokens: Normalizes _unlinkSync () across platforms to match Unix behavior i . e . file can be unlinked even if it s read - only see https : // github . com / joyent / node / issues / 3006
pl_tokens: function unlinkSync ( file ) { try { fs . unlinkSync ( file ) ; } catch ( e ) { // Try to override file permission if ( e . code === 'EPERM' ) { fs . chmodSync ( file , '0666' ) ; fs . unlinkSync ( <mask> ) ; } else { throw e ; } } }