Celeb Glow
general | March 30, 2026

Permissions for mounted NFS share?

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:

/share 192.168.1.0/255.255.255.0(rw,all_squash,insecure)

and the 12.04 box /etc/fstab looks like:

192.168.1.10:/share /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?

1 Answer

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

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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