I'm using OS X Yosemite in a fresh MacBook. Just installed Homebrew and some essential packages, having moved to this new computer recently.
I noticed that once in a while I get linking errors when I install new brew packages. For some reason, the permissions of /usr/local/bin
and /usr/local/share
keeps changing back to root:wheel
even after I did chmod
andchgrp
several times to make it FP:admin
(FP being my username).
Take note, it fixes the permissions for a time, allowing me to install new brew packages, and changes back to root:wheel
automatically at random (at least as per my observation).
Been trying to Google answer to no avail. Any thoughts at what might be wrong with my setup? Appreciate the insights. Thanks!
You using Sophos by chance?
Via https://apple.stackexchange.com/questions/178760/how-to-figure-out-what-is-causing-the-ownership-of-usr-local-to-change-from-my
"I had this exact same issue, and it turns out Sophos auto-update was to blame. I figured this out by running: sudo fs_usage | grep "usr/local"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With