wiki:MacNfs
Last modified 9 years ago Last modified on 10/07/08 15:12:08

Mounting Linux NFS share on MacOS 10.5 Leopard

  • Make sure your IP address is in /etc/exports of the NFS server
  • Run these commands in Terminal:
sudo mkdir -p /usr/local/data/ # your chosen mount point; could be /Volumes/foobar/
sudo /sbin/mount_nfs -o resvport,nolock vagal.biostr.washington.edu:/usr/local/data /usr/local/data/

If above works, you may use the GUI to make permanent connection:

  • "Connect to server" - (keyboard shortcut Apple + K)
  • Type in nfs://fqdomainname.edu/foo/bar
  • Your share should appear under /Volumes/.

Adding group

The right way to do this would be to attach to our LDAP server. Until then, you can fudge it to NFS because uid/gid on the client determines permissions on the server. That's one of the little security problems with NFSv3, and why we use firewalls. :)

If the group number already exists, you can add it via command line like:

sudo dscl . append /Groups/GROUPNAME GroupMembership YOUR_SHORT_USERNAME
# for example:
sudo dscl . append /Groups/authedusers GroupMembership joshuadf

A GUI option is also described at: http://www.nabble.com/add-user-to-group-in-Leopard-td14254251.html