Skip to content

Instantly share code, notes, and snippets.

@taoeffect
Last active November 21, 2016 10:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taoeffect/0de3886b73137f675246 to your computer and use it in GitHub Desktop.
Save taoeffect/0de3886b73137f675246 to your computer and use it in GitHub Desktop.
How to stop Google Chrome from violating your Mac
  1. Open the Terminal app (search for it in Spotlight)

  2. Enter the following command at the prompt to delete the offending files and folders (you will be prompted for your admin password):

     sudo rm -rf ~/Library/Google/GoogleSoftwareUpdate/*
    
  3. We're not done yet. Google will re-install its software update junk, so we have to change the owner and group of the folder to the "admin" user:

     sudo chown root:wheel ~/Library/Google/GoogleSoftwareUpdate
    
  4. Prevent Google from read or writing to the folder:

     sudo chmod a-rwx ~/Library/Google/GoogleSoftwareUpdate
    

OK, almost done, but Google has a backup folder! We now must do all of the above commands on the backup folder:

sudo rm -rf /Library/Google/GoogleSoftwareUpdate/*
sudo chown root:wheel /Library/Google/GoogleSoftwareUpdate
sudo chmod a-rwx /Library/Google/GoogleSoftwareUpdate

And that about does it. Oh, and Google Chrome installs other spyware on your computer that may require software like Little Snitch to block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment