From 61a47a4c0fbad2d6fcf6ddd30cf1aa6be5e8cc9b Mon Sep 17 00:00:00 2001 From: Joao Antunes Date: Fri, 25 Dec 2015 22:42:26 +0000 Subject: [PATCH] doctor: check_access_usr_local mention Cocktail. Added mention to Cocktail app cleanup/repair/optimizations, that has some features that when run they restore the /usr/local directory to the original 'not writable' state in OS X 10.11 . Closes Homebrew/homebrew#47379. Signed-off-by: Mike McQuaid --- Library/Homebrew/cmd/doctor.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index ead2bfcce2..f2de84d4dd 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -444,7 +444,8 @@ class Checks The /usr/local directory is not writable. Even if this directory was writable when you installed Homebrew, other software may change permissions on this directory. Some versions of the - "InstantOn" component of Airfoil are known to do this. + "InstantOn" component of Airfoil or running Cocktail cleanup/optimizations + are known to do this. You should probably change the ownership and permissions of /usr/local back to your user account.