Mac OS X Symlink on home dir


I use Linux as my primary desktop, my path is on this workstation is /home/matt, I have a good few places and configs that I sync between Linux and my Mac via Dropbox, on my mac my home path is /Users/matt. e.g. local bookmarks are sync via Firefox Weave (like XMarks) such as file://home/matt/My Dropbox/offlinepages/jquery-help.html

I'm trying to symlink /home/matt to /Users/Matt on my mac so everything aligns equally, but I get Operation not permitted even under a sudo bash.

Best Answer

  • You need to disable automount. Use sudo edit /etc/auto_master to comment out the /home line. My auto_master file looks like:

    # Automounter master map
    +auto_master            # Use directory service
    /net                    -hosts          -nobrowse,hidefromfinder,nosuid
    # /home                 auto_home       -nobrowse,hidefromfinder
    /Network/Servers        -fstab
    /-                      -static

    Then run sudo automount -v -c.

    You should see the output:

    automount: /net updated
    automount: /home unmounted
  • Related Question