This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

'sweep' command installs itself into /usr/local and changes permissions, wreaking havoc on Homebrew

Sophos installs a sweep command into /usr/local/bin, and a few auxiliary files. Doing this, Sophos also changes ownership of /usr/local and several sub-directories. This wreaks havoc with Howebrew, which by default installs to /usr/local and expects it to be writable by the "main user". In general, /usr/local should not be used by non-user controlled installations.

A more polite way would be for Sophos to install its commands to /opt/sophos, and asking the user to and relevant paths if they wish to use the tools.



This thread was automatically locked due to age.
Parents
  • Glad to see a fix is coming. I've been temporarily getting around it by doing a `chgrp` to admin and `chmod g+w` to all of `/usr/local`. I read it's a good idea to NOT change the owner of /usr/local from root. After the fix, will doing this once prevent the permissions changing again?
Reply
  • Glad to see a fix is coming. I've been temporarily getting around it by doing a `chgrp` to admin and `chmod g+w` to all of `/usr/local`. I read it's a good idea to NOT change the owner of /usr/local from root. After the fix, will doing this once prevent the permissions changing again?
Children
No Data