Operation Not Permitted Mounting NFS Share on OS X Mountain Lion

Tuesday, October 15, 2013

Mounting an NFS share on OS X has always been slightly more troublesome when compared to mounting an NFS share on a Linux distribution.

For example, I have an NFS share that I want to mount on OS X Mountain Lion from a Fedora box. Running nfs:// from Finder results in a generic error and running sudo mount_nfs /Volumes/media (assume /Volumes/media already exists) results in the following error: Operation not permitted

Thanks to Jose Manuel’s post, simply adding -o resvport to the mount_nfs command resolves the above error and successfully mounts the NFS share.

sudo mount_nfs -o resvport /Volumes/media

Also see Jose’s post for additional NFS parameters to achieve better NFS performance.

comments powered by Disqus