Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I have installed NFS server and Client on separate machines. The problem is when i mount the shared directory on client side using command

mount server_addr:server_dir client_dir

But it gives an error saying that

don't have permission to share this directory (can't access the server_dir)

Though I have given read-write (rw) permissions to the client by updating /etc/exports file in server as

server_dir client_ip(rw,sync,no_root_squash)

But still giving error as access denied on client side. I have also done an exportfs.

Any kind of help/suggestions are appreciated.

share|improve this question
I can share directories using same steps if server and client is on the same machine but if they are on different then its giving error. – Bhushan Baviskar Jul 31 '12 at 5:38

Set few permissions on.. (related to firewall)

iptables -P INPUT ACCEPT
iptables -F
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.