Troubleshooting Different Versions of Cygwin

Versions of Cygwin other than those distributed by TimeSys might treat the nfs-server-config script differently. If you get an error that states the UID is read-only, take the following steps:

  1. If your version of Cygwin is more recent than 1.5.17, try using sh:
    $ sh nfs-server-config
  2. If your version of Cygwin is older than version 1.5.17, first try using ash:
    $ ash nfs-server-config
  3. If your version of Cygwin is older than version 1.5.17 and ash does not work, one of the following should start the script correctly:
    • Upgrade your Cygwin to a more recent version.
    • Comment out the line:
      UID=$(id-u)

      in the script.

In addition, older versions of the script might produce the following error:

grep: /usr/share/doc/Cygwin/nfs-server-2.3-1.README: \
   No such file or directory

This error can safely be ignored.