2

I#m running OS X El Capitan and want to symlink /Users to /home

sudo ln -sf /Users /home

fails with

ln: home/Users: Operation not supported

Why does this fail?

Could this be related to other OS X restrictions? Such as when trying to write to /usr/share ...

Operation not permitted

migrated from stackoverflow.com Feb 18 '16 at 12:45

This question came from our site for professional and enthusiast programmers.

3

System Integrity Protection doesn't prevent you creating sym links in / because the root of the file system is not protected!

But the root of the OS X file system already contains an invisible volume/mount point home created by /etc/auto_master (and /etc/auto_home). Your intension to create an equally named sym link there conflicts with this and is therefore forbidden.

Network users who login to the local machine will have their home directories mounted in /home according to the details in /etc/auto_home.

0

Create an alias instead of using ln. To do it, right click the required folder and click create alias, then drag this shortcut folder to your desktop or home folder as you want.

-1

Likely System Integrity Protection?

https://support.apple.com/en-us/HT204899

You can disable it and verify this I suppose.

You must log in to answer this question.

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