Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am running a Mac Pro using Snow Leopard (not server). I would like to share a directory with a linux machine. I have edited /etc/exports on the Mac to:

/Volumes/mstore/home/sdavis -maproot=root -rw

When I try to mount this from a linux machine, I get:

 sudo mount gale.nci.nih.gov:/Volumes/mstore/home/sdavis /tmp/abc
mount.nfs: access denied by server while mounting gale.nci.nih.gov:/Volumes/mstore/home/sdavis

Also, this is what I get for showmount -e on the Mac:

% showmount -e
Exports list on localhost:
% 

In other words, the mount is not seen, apparently. Any suggestions? I have not found much good documentation on sharing via NFS on the Mac, particularly for later OS versions.

share|improve this question
add comment

1 Answer

Bad form, I know, to answer my own question, but.... I needed a couple more steps, outlined here. In short, I needed to execute:

sudo nfsd update

As another detail, I added the client name to the export and removed the "-rw" flag.

share|improve this answer
2  
It’s perfectly fine to ask and answer your own question. If anyone gives you a hard time about this, point them to the official FAQ or to the community FAQ and other Meta threads. –  Gilles Jan 22 '11 at 23:29
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.