4 ms·
I should have been clearer about this^ On most systems with 1 user it's irrelevant as by default they are in the admin group. Rather, usr/local exists and you
by chrisfinazzo 7y ago
I should have been clearer about this^
On most systems with 1 user it's irrelevant as by default they are in the admin group. Rather, usr/local exists and you may read and write into it even if you don't have explicit ownership (e.g, root). Whether that's brew, or your own script doesn't really matter.
- stephenr 7y agoOn Mojave at least, `/usr/local` is owned by root:wheel, the first user account (which has admin rights) is not in the wheel group but can use sudo to write to `/usr/local`.