Problem
When I try to create a new file on a mounted NetWare filesystem,
I get an error from the shell. For example, if I run:# date > filesh(C) and ksh(C) return:file: cannot createcsh(C) returns:file: I/O errorIf I run:# vi fileI get the error:resource temporarily unavailableIn all cases, a zero-length file is created. An attempt to
remove the file gives no error, but doesn't remove the file.Now I am able to write to the file, so if I run:
# date > fileagain, the output of date is now in the file. At this point,
I can also remove the file.Other applications that attempt to create files will fail, although they may give different errors.
These errors happen whether the NetWare volume is automounted using nucamd(NWG), or hard-mounted using the mount(ADM) command with the NUCFS filesystem type.
This works fine in SCO OpenServer 5.0.0 and 5.0.2.
Cause
When open(S) is called to create a new file, the NUCFS is erroneously returning an error with errno set to EAGAIN.
Solution
This is a known problem and has been reported to SCO Engineering.