Permission problems with /usr/local/bin and /usr/local/share

旧时模样 提交于 2019-12-04 10:16:25
claco

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"

Running an existing MBP, now on 10.10.5 and this is happening to me seemingly every time I sleep/wake. At least once daily. No clue what's causing this yet.

Claco's answer about Sopho's Anti Virus software led me to fix this problem on my machine. I recommend upgrading Sophos.

My machine is a new 2015 Mac Book Pro (OSX 10.10.5) with Sophos 9.2.8 installed on it at first. Every time I restarted and ran brew doctor I'd get the same warnings about permissions in /usr/local/bin, /usr/local/share, etc. -- even though I reset those permissions each time.

After upgrading to Sophos Anti Virus 9.4.1, setting the permissions again, and restarting, brew doctor finally returns Your system is ready to brew.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!