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

Error: Permission denied - /Users/<username>/Library/Logs/Homebrew/tree/01.make #2101

Closed
SamuraiT opened this Issue Dec 15, 2013 · 3 comments

Comments

Projects
None yet
3 participants
@SamuraiT
Copy link

SamuraiT commented Dec 15, 2013

First there was so many Errors to fight so I reinstalled brew
and then I got another trouble.

I tried to install tree since reinstallation of brew removed all packages I installed once.

 brew install tree
Error: Permission denied - /Library/Caches/Homebrew/Formula/tree.brewing

so I did:

sudo chown -R <username> /Library/Caches/Homebrew/

then tried again:

brew install tree
Error: Permission denied - /Users/<username>/Library/Logs/Homebrew/tree/01.make

and got this.
Could you please tell me How can I solve this problem?

brew --config info:

HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew
HEAD: ed28cfbd2b863cb5bf8bfce7dc4033a648883c74
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit haswell
OS X: 10.9-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1382131676
Clang: 5.0 build 500
X11: 2.7.5 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby

@SamuraiT SamuraiT closed this Dec 15, 2013

@SamuraiT SamuraiT reopened this Dec 15, 2013

@SamuraiT

This comment has been minimized.

Copy link

SamuraiT commented Dec 15, 2013

I solved this problem by this command:

sudo chown -R <username> /Users/<username>/Library/Logs/Homebrew/tree/

@SamuraiT SamuraiT closed this Dec 15, 2013

@feng88724

This comment has been minimized.

Copy link

feng88724 commented May 5, 2016

sudo chown -R <username> /Users/<username>/Library/Logs

It worked for me

@SamuraiT , Thanks.

@vitorgalvao

This comment has been minimized.

Copy link
Member

vitorgalvao commented May 5, 2016

This issue is not relevant to homebrew-cask. It’s related to homebrew. Different projects.

@Homebrew Homebrew locked and limited conversation to collaborators May 5, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.