Hacker News new | ask | show | jobs
by i336_ 3375 days ago
Is it still possible to do this kind of thing on the most recent macOS? I recall the issue with the 'git' binary not being modifiable, even with sudo, unless you mounted the macOS filesystem under Linux and made the changes from there.
1 comments

You can disable rootless via the recovery partition.
Ah, thanks. I'm assuming that quietly got added in after "we can't touch the filesystem at all" caused too many complaints...?
It was literally there from day one (from day minus-a-bunch if you count the beta releases) and the hyperbolic inanity that led normal people to the misconception you had was never necessary in the first place.
Heh. Thanks for the info.

I just checked, I read about this at http://rachelbythebay.com/w/2016/04/17/unprotected/.

I must admit that I am very curious why "git and 64 other files in /usr/bin are all the same size (18176 bytes on my machine)", why dtruss and strings fail, and what behavior changes when you turn rootless off.