EACCES may be returned if write permission was denied as well.
EACCES may be returned if write permission was denied as well.

PR:		28553
Submitted by:	Ronald F. Guilmette <rfg@monkeys.com>

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase