Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer

Set few permissions on.. (related to firewall)

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