Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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'd like to mount a folder from my Mac on my Ubuntu machine. So far I've enabled file sharing on my Mac and enabled Samba.

On Ubuntu I am able to connect to the share by simply navigating to smb://servername and I can see all my files. Great!

So I installed cifs-utils so that I had the cifs files available, then I created an empty folder /mnt/david_mac, and then manually mounted the share using,
sudo mount -t cifs //serverName/david -o 'username=myUsername,password=myPassword,rw,nounix,noserverinfo,sec=ntlmssp' /mnt/david_mac

I can then see my files and folders fine in the /mnt folder. However I cannot write to them. What piece of the puzzle am I missing in order to be able to write files back to the Mac from my Ubuntu system?

share|improve this question
up vote 2 down vote accepted

As with all things, I found the solution to this issue right after posting this question. The solution is in,

The primary thing being that you need to pass file_mode=0777,dir_mode=0777 as part of your options in mount

share|improve this answer

Your Answer


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.