6 ms·
Turn off System Integrity Protection. Not a good idea but it will let you make unnecessary changes to /.
by thoughtsimple 6y ago
Turn off System Integrity Protection. Not a good idea but it will let you make unnecessary changes to /.
- filleduchaos 6y agoAll they really did was make it harder to thoughtlessly do. If you can't cope with the procedure needed to make changes to the write-protected folders, maybe whatever it is you wanted to write there isn't actually that important.
- 72deluxe 6y agoThat doesn't make sense. What is in / that is dangerous? Finder hides all of /etc and /bin and /usr for the "protection" of normal users, just like the default view for Windows Explorer under C:\Windows\System. But you can still change the contents on Windows, or see the directories in Terminal on macOS. Should they hide those directories when you use Terminal too? After all, /etc is important. Your reasoning would also stand up there - perhaps whatever files you were attempting to modify under /etc wasn't actually that important. When does the "you cannot easily modify files on your own machine" stop? Would you also accept the inability to change your wallpaper with such glee? Perhaps the wallpaper you wanted wasn't actually that important.
- Xylakant 6y ago> That doesn't make sense. What is in / that is dangerous? There have been examples of (un)installer scripts removing substantial parts of your system, steam for example. Linux in this case https://github.com/ValveSoftware/steam-for-linux/issues/3671 https://github.com/ValveSoftware/steam-for-linux/issues/3671, but not generally unthinkable on MacOS. It's generally good if the system puts up barriers to prevent such occurrences. You're entirely welcome to disable these protections, but MacOS is designed to protect Joe User who may have substantially less knowledge and who has no general need to mess around in /etc
- 72deluxe 6y agoIt seems to be solving a problem that doesn't exist, as if edge cases were the reason to apply blanket restrictions. It's like banning knives because there's been a few stabbings. It removes the general utility due to misuse by a few.
- viro 6y ago"solving a problem that doesn't exist" ... um I nuked plenty linux machines by removing the wrong file early in my linux days. Hell I nuked a couple OS X machines when I first got Mac. Turning off SIP isn't that hard ... if you consider it hard you probably need to keep it on.
- 72deluxe 6y agoBut typing the correct command also isn't that hard!
- filleduchaos 6y ago> What is in / that is dangerous? ...it's...the root of your entire system? Are you really asking me why `rm -rf /` is a meme, or are you just being contrarian? > Finder hides all of /etc and /bin and /usr for the "protection" of normal users And you can change Finder's preferences to show those folders, like any actual macOS user that's qualified to be making changes to those folders should know. If you lack both the curiosity and the ability to look up how to enable that option, then you frankly have no business modifying them yourself. If whatever you wanted to copy or edit there wasn't important enough for you to take ten seconds to look up how to do it and then follow through with the instructions, then why on earth would you be complaining about it to anybody?
- 72deluxe 6y agoI'm not being contrarian, I am asking why I wouldn't be able to modify my filesystem. It's quite simple. I can also do rm -rf ~/Documents or rm -rf /Applications or rm -rf /Library which has a similar devastating effect to my life/machine - should we block that too? I can also fling a hammer into the screen and break the screen - should we put extra thick glass on the screen? I guess I have no business using a MacBook if it is possible to break the screen. I can also pour liquid into the keyboard - should the keyboards be waterproof? I guess I am not qualified to use a Macbook and have no business using one if I spill a drink. Using the keyboard is dangerous too because someone can type dangerous commands. Let's stop people using it. Only those with sufficient "curiosity" and those "qualified" should use it, right? How do I get "qualified"? I am saying that as it is my machine, I get to decide which parts are dangerous. But I no longer can because someone the other side of the world has decided that I am cannot create a directory under /. I do not ever modify /etc using Finder. Should I only be allowed to edit files under there using Finder or is Terminal permitted? I guess if we follow this "lock down" and "only those qualified" route that you encourage, we'll soon see permission prompts to do anything anyway.