diff options
| author | Grant Hutchins | 2016-01-16 17:21:41 -0600 |
|---|---|---|
| committer | Mike McQuaid | 2016-01-17 21:57:44 +0000 |
| commit | 624ca35f42d0941bf6f69cac3bc16079ab10f7b1 (patch) | |
| tree | 56dd3898e22ec47099224f2340d90bc4e622e430 | |
| parent | d675fa0b5a42a615cc1a4d3fdde7c46df1f1ea6a (diff) | |
| download | brew-624ca35f42d0941bf6f69cac3bc16079ab10f7b1.tar.bz2 | |
diagnostic: note El Capitan upgrade permissions.
On all of the machines I have upgraded to OS X El Capitan, my /usr/local
directory has changed ownership. Since this message shows up as an error
during `brew update`, I figured it would be good to beef up the
explanation.
Closes Homebrew/homebrew#44670.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Homebrew/diagnostic.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 7e3c5e491..47057d662 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -514,9 +514,10 @@ module Homebrew unless HOMEBREW_PREFIX.writable_real? then <<-EOS.undent 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 + software may change permissions on this directory. For example, upgrading + to OS X El Capitan has been known to do this. Some versions of the "InstantOn" component of Airfoil or running Cocktail cleanup/optimizations - are known to do this. + are known to do this as well. You should probably change the ownership and permissions of /usr/local back to your user account. |
