Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I have two linux boxes, one is Ubuntu 11.10 that I have an nfs share set up with, and the other is Ubuntu 12.04 that I have mounted the nfs share at.

/etc/exports on the 11.10 box looks like:


and the 12.04 box /etc/fstab looks like: /import nfs rw,hard,intr 0 0

The share mounts fine, and I can see the files. The problem is that I cannot create new files in the mounted share.

$ mkdir /import/test 
mkdir: cannot create directory `/import/test': Read-only file system

I am pretty sure it is something on the 12.04 box that is not set right, since I can mount the nfs mount on my mac and can create folders and files.

So how to allow write access to the NFS share on the 12.04 box?

share|improve this question
up vote 3 down vote accepted

You should change the permissions of /import folder (as you mentioned 12.04 box) so that you can have write access.

share|improve this answer
Thanks, that worked, and now I feel silly. The only I would add is that I add to run sudo umount /import to unmount the share first, and then change the permission. – Jacob Schoen May 29 '12 at 23:31

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.