I am an "admin" user on a Mac running Big Sur. I am trying to remove a symlink:
$ ls -al /usr/bin/python lrwxr-xr-x 1 root wheel 75 Jan 1 2020 /usr/bin/python -> ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Now, I tried removing it with
sudo but I get permission denied:
$ sudo rm /usr/bin/python rm: /usr/bin/python: Operation not permitted
How do I assume actual admin power on my mac? Do I need to be added to the "wheel" group?
Please note, I am well aware of workarounds with shell aliases as outlined here:
But that would only be a work around. I want to know what the root cause is, and what I can do about it.