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

Permission denied - /tmp/github_api_headers20160630-2137-1vjetfs #426

Closed
peak77 opened this issue Jun 30, 2016 · 10 comments
Closed

Permission denied - /tmp/github_api_headers20160630-2137-1vjetfs #426

peak77 opened this issue Jun 30, 2016 · 10 comments
Labels
user configuration User configuration rather than a Homebrew issue

Comments

@peak77
Copy link

peak77 commented Jun 30, 2016

No description provided.

@peak77
Copy link
Author

peak77 commented Jun 30, 2016

brew install XXX or brew doctor have Permission denied - /tmp/github_api_headers20160630-2137-1vjetfs why?

@UniqMartin
Copy link
Contributor

This usually means that there's some permission problem with your /tmp directory. Can you please provide the output of the following commands and tell us what version of OS X you're on?

l -delO@ /private/tmp /tmp
brew config

Thanks!

@UniqMartin UniqMartin added needs response Needs a response from the issue/PR author user configuration User configuration rather than a Homebrew issue labels Jul 1, 2016
@DomT4
Copy link
Member

DomT4 commented Jul 31, 2016

Closing as dead, but please shout if we can offer any assistance here still. Thanks!

@DomT4 DomT4 closed this as completed Jul 31, 2016
@chenfanggm
Copy link

@UniqMartin
I ran into the same issue when I try to run: brew cask install java8

Here's what I got after doing the two command you posted:

l -delO@ /private/tmp /tmp

drwxr-xr-x  13 root  wheel  -                  442B Oct 30 16:54 /private/tmp
lrwxr-xr-x@  1 root  wheel  restricted,hidden   11B Jan 11  2017 /tmp -> private/tmp
	com.apple.FinderInfo	  32B
	com.apple.rootless	   0B
brew config
HOMEBREW_VERSION: 1.3.6
ORIGIN: https://github.com/Homebrew/brew
HEAD: 270b752f5d9d218bfbed6fe85b6974fa653fb25f
Last commit: 13 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 35672756c206278a2e3fb53ca268636ec868de65
Core tap last commit: 12 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby
Clang: 9.0 build 900
Git: 2.13.5 => /Library/Developer/CommandLineTools/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 9.0.1
macOS: 10.12.6-x86_64
Xcode: N/A
CLT: 9.0.0.0.1.1504363082
X11: N/A

@BrewTestBot BrewTestBot removed the needs response Needs a response from the issue/PR author label Oct 31, 2017
@chenfanggm
Copy link

@UniqMartin
You're right. I got it fixed by chown of my /tmp folder

@CholtonATX
Copy link

I am having permission problems persisting through removal and reinstallation of Homebrew. It's the same exact issue except I am unable to even brew search <formula> without the message:

Error: Permission denied @ rb_sysopen - /tmp/github_api_headers20180307-6256-1ljj8sb

@MikeMcQuaid
Copy link
Member

@CholtonATX Please post your brew doctor like mentioned on the other thread.

@MikeMcQuaid
Copy link
Member

And did you chown your /tmp?

@CholtonATX
Copy link

brew doctor says I'm ready to brew.

Also:
d--x--x--x+ 11 cholton admin 352 Mar 8 09:43 tmp

@CholtonATX
Copy link

I also did chmod 700 /private/tmp to make it writeable by me. Currently am still getting the error.

trappist-1-mbp:Volumes cholton$ brew install awscli ==> Installing dependencies for awscli: readline, sqlite, gdbm, openssl, xz, python ==> Installing awscli dependency: readline Error: Permission denied @ rb_sysopen - /tmp/github_api_headers20180308-29796-1k36lde

@Homebrew Homebrew locked and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
user configuration User configuration rather than a Homebrew issue
Projects
None yet
Development

No branches or pull requests

7 participants