Last Updated: February 25, 2016
· supermarin

Link OSX /Users to /home without rebooting

Many web apps and libraries work with your /home dir.
If you're deploying to an Linux web server (or mostly anything else except OSX) you're good.

The problem is that OSX uses /Users home path instead of /home.
The second problem is that /home still exists and it does nothing. And you can't just override it.

Here's a simple script that will do the linking job and make your apps compatible, without rebooting:

sudo perl -pi -e 's/^\/home/#\/home/g' /etc/auto_master
sudo automount -vc
sudo umount /home
sudo rmdir /home
sudo ln -s /Users /home