Can't get NFS shares to work

Joined
Mar 4, 2010
Messages
15
Reaction score
0
Points
1
Location
Blackburn, UK.
I've just got a MacBook and could do with some help in setting up an NFS share.

I've used Disk Utility -> File -> NFS Mounts, and put
Code:
nfs://192.168.0.1:/home/carl
in the Remote NFS URL box, and
Code:
/Users/carl/nfs
in the Mount Location box. The 'nfs' directory exists, and I chmod'd it to 777 (just in case :D ).

Then I click Verify, and after a while it reports that the NFS Server did not respond.

The server is my desktop Linux box, and my Linux laptop connects to it no problem. It's not set to only allow specific IP addresses, so I'm guessing it's at the Mac end where I've got it wrong.

Trying it from the command line returns an 'Operation not permitted' error.

Any suggestions?
Thanks in advance.
 
Joined
Feb 20, 2010
Messages
96
Reaction score
1
Points
8
Your Mac's Specs
iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz)
I have a similar problem, although Disk Utility reports "The NFS server appears to be functional". The mount point is created. Yet I cannot see any files under yhe mountpoint. Running ls returns "operation not permitted".

EDIT: The key was to add the flag -P nosuid in the Advanced Parameters and tick set Ignore "set user id" privelleges
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top