Technical questionAccepted answer
Homebrew - Error: Permission denied @ apply2files - /usr/local/lib/docker/cli-plugins
laitifranz
Jun 28
0 views1
Homebrew gives me this error on macOS Monterey while using it:
Error: Permission denied @ apply2files - /usr/local/lib/docker/cli-plugins
How can I fix it?
1 answer
Accepted answer · original discussion
laitifranz
PermalinkJun 28
EDIT: Permanent Solution from the JW's comment below:
sudo rm -r /usr/local/lib/docker/cli-plugins
Previous Solution
If you had recently deleted Docker, you have to manually recreate the Docker folder:
mkdir -p /Applications/Docker.app/Contents/Resources/cli-plugins
Then run
brew cleanup
You should have fixed the issue!
After that, you can delete the Docker application inside the Application folder
Source: https://flaviocopes.com/homebrew-fix-permission-denied-apply2files/
0 question comments
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.