6 ms·
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 yo
by i336_ 10y 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.
- eropple 10y agoYou can disable rootless via the recovery partition.
- i336_ 10y agoAh, thanks. I'm assuming that quietly got added in after "we can't touch the filesystem at all" caused too many complaints...?
- eropple 10y agoIt 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.
- i336_ 10y agoHeh. Thanks for the info. I just checked, I read about this at http://rachelbythebay.com/w/2016/04/17/unprotected/ 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.