Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to share files from my Mac to a web server hosted in VirtualBox running Centos.


I've created the file /etc/exports. It has the following line

/Users/jason/projects -alldirs -network -mask


Installed nfs

Created a directory mkdir -p /mnt/nfs/

Then try to mount the shared folder from the mac server with the command

mount -v /mnt/nfs/projects

But if doesn't work and i get this message

mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Thu Oct 10 12:39:14 2013
mount.nfs: trying text-based options 'vers=4,addr=,clientaddr='
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'addr='
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying prog 100005 vers 3 prot UDP port 867
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting

If i run showmount -e from the centos machine, it shows what I expect

Export list for

Is there some setting that I've missed? (I've never done this before so apologies if its obvious)

share|improve this question
Can you ping from host to guest and viceversa? – MariusMatutiae Oct 11 '13 at 10:16
Yes. I currently have an apache server running in the guest. I'm using VirtualBox's shared folders to serve my files but it's so slow i'm looking for alternatives to this – JasonM Oct 11 '13 at 15:43
And have you installed the Extension Pack? Have you configured the shared folder in the VM settings under "Shared folder"? – MariusMatutiae Oct 11 '13 at 15:53

Try nitro share. It works for Windows, Linux and Mac OS.

share|improve this answer
I'll check this out and see if it helps – JasonM Oct 11 '13 at 15:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .