Does anyone know how to run 'diskutil' in terminal from the recovery partition, targeting your system drive? Possible?
Following this support article from Apple:
https://support.apple.com/en-us/HT203538
Specs:
Mac Pro (2013) - all spec'd out to the max
Mac OS 10.12.6 (...yeah, I know...it's a work thing *facepalm*)
I'm having issues where I need to be able to repair permissions as part of my diagnostic analysis, and as we all know, in Apple's infinite wisdom, they removed that feature from Disk Utility. I've linked to the support article from them that tells you how to run it in terminal, but unfortunately, you need to be booted up and logged in to run it.
Typically in past OS releases, I would boot into the recovery partition and run Disk Utility repair permissions from there to ensure nothing from the OS was blocking the repair from happening on anything. (Could be snake oil, but has always served me well in the past.)
I'd like to be able to do that now using the terminal command Apple provided us with, but I need to be able to target my system drive since I'm booted into my recovery partition. Their support article only provides the exact terminal command/options for running the repair after you've logged in. But they don't outline the syntax of the command to explain how/if you can do that.
The command:
diskutil resetUserPermissions / `id -u`
My assumption is that I can replace the "/" with the path to my system drive. ...but can I use the name of the volume, or do I have to use the Volume Identifier (disk0s1, disk0s2, etc)?
Thanks in advance, Hive Mind!