Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

Server:

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

Client:

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.