Merge pull request #5911 from blankenberg/user-dir-write-permission
In diagnostics, when directory is not writable, also hint to set permission.
This commit is contained in:
commit
4cb88b7e1e
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user