In diagnostics, when directory is not writable, also hint to the user to set permissions.

This commit is contained in:
Daniel Blankenberg 2019-03-22 22:45:41 -04:00
parent 4836be3342
commit d717358a32

View File

@ -350,6 +350,9 @@ module Homebrew
You should change the ownership of these directories to your user.
sudo chown -R $(whoami) #{not_writable_dirs.join(" ")}
And make sure that your user has write permission.
chmod u+w #{not_writable_dirs.join(" ")}
EOS
end