Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Installed Cygwin's NFS server. It works. But I can't make it allow writing to the filesystem. Why does it fail?


$ cat /etc/exports
/cygdrive/c/foranevia *(rw,no_squash_root,anon_uid=0,anon_gid=0,no_subtree_check)


root@vi-notebook:/mnt# mount wpc:/cygdrive/c/foranevia nfs
root@vi-notebook:/mnt# mkdir nfs/qqq
mkdir: cannot create directory `nfs/qqq': Read-only file system

Update: Fixed configuration line to /cygdrive/c/foranevia *(rw,no_root_squash) and now it seems to work, although not all hosts can mount until I explicitly list them in /etc/exports.

share|improve this question
up vote 0 down vote accepted

Check /etc/exports for newlines.

Also try to explicitly specify IP addresses that can write (* can fail)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.