Check for WRITE_ACCESS on the file before overriding an EACCESS.