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.

1 Answer 1


Check /etc/exports for newlines.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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