Logo for the site

Fix apply2files - /usr/local/lib/docker/cli-plugins

This command will update the permissions for your usr/local/*

  • #homebrew

I think in my case this is because when i deleted docker and updated to the latest version of macOS and it did something to my permissions. Take this command and set your usr in the MYUSRNAME within the curlybrackets.

sudo chown -R $(MYUSRNAME):admin /usr/local/* \&& sudo chmod -R g+rwx /usr/local/*

Once you've got brew running again just run this command and wait, it will reinstall all your packages.

brew list | xargs brew reinstall.

Then you should be all set again

If not you can read futher here

Tweet this snippet

Edit on github

call-n

Passionate software engineer trying to learn as much about code and design

Links

All rights reserved © calo.dev 2022