4

I have an Ubuntu 12.04 NFS server and I have an iMac NFS client running OS X 10.6.8. I believe I have everything set up properly, yet I still get this error on the Mac:

mount_nfs: can't access /nfs: Permission denied

My exports on the Linux server uses the insecure option like this:

/export/home/me/        192.168.100.132(rw,subtree_check,insecure,nohide) 

Where 192.168.100.132 is the address of my Mac.

I have even tried using -o resvport on the Mac (in addition to insecure on Linux) and I still get the same error as above.

$ sudo mount -t nfs -o resvport 192.168.100.1:/home/me /Users/me/mount

Here is the output of showmount:

# showmount -e 192.168.100.1

Export list for 192.168.100.1:
/export/home/me 192.168.100.132
....

I have reviewed this similar question:
How to mount NFS export on Mac OS X?

And I have reviewed this frequently recommended tutorial:
http://www.cyberciti.biz/faq/apple-mac-osx-nfs-mount-command-tutorial/

I still can't find a solution. Any ideas?

MountainX
  • 2,074
  • 5
  • 27
  • 40

2 Answers2

3

The mount command needs to look like this:

$ sudo mount -t nfs 192.168.100.1:/export/home/me /Users/me/mount

You can alternatively enter 192.168.100.1/export/home/me in the Disk Utility NFS mounts dialog.

MountainX
  • 2,074
  • 5
  • 27
  • 40
1

For me, I had my wifi on, and my computer was wired too, when I turned off the wifi, access was restored

Jeffrey L. Roberts
  • 434
  • 2
  • 6
  • 24