Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug report: #21601

Closed
cabo opened this issue Jun 1, 2016 · 2 comments
Closed

Bug report: #21601

cabo opened this issue Jun 1, 2016 · 2 comments

Comments

@cabo
Copy link

cabo commented Jun 1, 2016

(Remember to run brew update; brew cleanup; brew cask cleanup before reporting your issue. It usually fixes things!)

Description of issue

Installing macdown fails because /usr/local/bin is not writable

Output of brew cask <command> --verbose

$ brew cask install macdown --verbose
==> Downloading https://github.com/uranusjr/macdown/releases/download/v0.6/MacDown.app.zip
Already downloaded: /Library/Caches/Homebrew/macdown-0.6.zip
==> Verifying checksum for Cask macdown
==> It seems there is already an App at '/Applications/MacDown.app'; not moving.
==> Symlinking Binary 'macdown' to '/usr/local/bin/macdown'
==> ln: /usr/local/bin/macdown: Permission denied
Error: Command failed to execute!

==> Failed command:
["/bin/ln", "-hfs", "--", "#<Pathname:/Applications/MacDown.app/Contents/SharedSupport/bin/macdown>", "#<Pathname:/usr/local/bin/macdown>"]

==> Output of failed command:


==> Exit status of failed command:
#<Process::Status: pid 12807 exit 1>
Error: Kernel.exit

Output of brew doctor

...
Warning: Your Homebrew is not installed to /usr/local
...

Yes, that is true.

Output of brew cask doctor

==> Homebrew Version:
Homebrew 0.9.9 (git revision 0306209; last commit 2016-06-01)
Homebrew/homebrew-core (git revision 83bfb4; last commit 2016-06-01)
@cabo
Copy link
Author

cabo commented Jun 1, 2016

Oh, this seems to be a duplicate of #21372
It really violates the principle of least surprise...

@vitorgalvao
Copy link
Member

You haven’t run brew update; brew cleanup; brew cask cleanup.

@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants