After a few reckless uses of chomod
(and some history I don't recall, apparently) I currently have the following ownership in my /usr/local
:
drwxr-xr-x 13 Rax admin Caskroom/
drwxr-xr-x 87 Rax admin Cellar/
drwxr-xr-x 3 Rax admin Frameworks/
drwxr-xr-x 17 Rax admin Homebrew/
drwxr-xr-x 2 Rax admin Library/
drwxr-xr-x 6 root wheel MacGPG2/
drwxr-xr-x 654 Rax admin bin/
drwxrwxr-x 16 Rax admin etc/
drwxr-xr-x 118 Rax admin include/
drwxr-xr-x 4 Rax admin info/
drwxr-xr-x 438 Rax admin lib/
drwxr-xr-x 3 Rax admin libexec/
drwxr-xr-x 5 Rax admin man/
drwxr-xr-x 7 Rax admin mysql-utilities-1.5.3/
drwxr-xr-x 111 Rax admin opt/
drwxr-xr-x 3 root wheel remotedesktop/
drwxr-xr-x 42 Rax admin share/
drwxr-xr-x 10 Rax admin texlive/
drwxr-xr-x 6 Rax admin var/
Is this the correct default ownership for current (≥ 10.12.5) macOS? Should I change some of these (back) to root:wheel
?
bin
oretc
toroot:wheel
(and they don't come that way by default)? FWIW,brew doctor
seems happy with what I've got. An – orome Jul 16 '17 at 19:43bin
oretc
comes out of the box so it's up to whatever process creates them to set permissions or responsible for what permissions you have. – bmike Jul 16 '17 at 19:48hdiutil mount /Volumes/Recovery\ HD/com.apple.recovery.boot/BaseSystem.dmg
) I see thatbin
,lib
,libexec
,sbin
,share
, andstandalone
are all present (and all that's present) and all haveRax:staff
. – orome Jul 16 '17 at 20:00staff
vsadmin
is here. – orome Jul 16 '17 at 20:00