Today I was messing around with a MacBook Neo from work, playing around with moving user profiles around with an eye to trying to use the device as a daily driver.
One of the things that I need to do for that to work is to get the users home folder saved into a separate disk, volume, or partition, depending on how you want to look at it. It’s been a hot minute since I daily drove a macOS system at work and the process that I used to used to do this back in the day needed to be revalidated since it’s been a long time.
In short I was just going to copy the user home folder over to the new volume using the ditto command, change my user settings to point to the new folder, and I’m done.
However I ran into issues copying over the profile to the new location, specifically permissions errors even when running the command as root.
It took a bit but eventually I remembered that even when running commands as root you don’t have access to your entire disk through the terminal. That’s something that you have to grant the terminal application and normally that happens when the app in question (terminal or otherwise) tries to access something that it shouldn’t. In this case the ditto command didn’t trigger the notification and I didn’t connect that this wasn’t something granted previously.
I understand why this is done, but it’s still irritating to run into this when I actually know what I’m doing. It’s almost like the folks at Apple think that I need handholding when using my computer. And while I’ll be the first to admit that I’m not some type of macOS god who knows everything I’m not completely ignorant of the operating system and how it works. Generally if I’m dropping into the terminal for something I’m aware of the risks and if the machine gets blown up, well that’s what backups are for.
I understand why these guardrails are in place. There are a lot of folks who don’t care or can’t understand what they are doing if they drop into a terminal or start playing with some parts of the operating system. For those who know these things are a pain in the ass, but at least on the current versions of macOS I can get past them fairly quickly and get things done. I am however concerned how long that will remain the case. I can see a day where you won’t have control over the system that you are using and I really don’t like that idea.
If I buy a piece of hardware it expect that it’s mine to do whatever the hell I want to do with it.
Bah. Enough grumbling. The profile is where it needs to be now, time to get on with the other testing that I need to do.