- Version:
v6.3.0
- Platform:
64-bit (Windows 7)
When performing following code:
var fs = require('fs');
fs.access('C:/Windows/System32/drivers/etc/hosts', fs.F_OK, function(err) {
console.log('err', err); //err null
});
I am pretty sure i don't have write permission to the hosts file. But it resolves null to err.
Am i wrong with the usage?
v6.3.0
64-bit (Windows 7)
When performing following code:
I am pretty sure i don't have write permission to the
hostsfile. But it resolvesnulltoerr.Am i wrong with the usage?