Skip to content

Instantly share code, notes, and snippets.

@choiks14
Created February 5, 2017 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choiks14/b69403f29cd2e20767c7e5b0b808d9e0 to your computer and use it in GitHub Desktop.
Save choiks14/b69403f29cd2e20767c7e5b0b808d9e0 to your computer and use it in GitHub Desktop.
### mac에 sshpass 설치 하기
``` bash
$ brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb
```
에러가 발생
``` bash
$ brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb
######################################################################## 100.0%
==> Downloading http://sourceforge.net/projects/sshpass/files/sshpass/1.06/sshpass-1.06.tar.gz
Already downloaded: /Users/kangsikchoi/Library/Caches/Homebrew/sshpass-1.06.tar.gz
==> ./configure --prefix=/usr/local/Cellar/sshpass/1.06
==> make install
Error: parent directory is world writable but not sticky
Please report this bug:
http://docs.brew.sh/Troubleshooting.html
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tmpdir.rb:92:in `mktmpdir'
/usr/local/Homebrew/Library/Homebrew/utils/fork.rb:6:in `safe_fork'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:636:in `build'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:291:in `install'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:306:in `install_formula'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:199:in `block in install'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:199:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:199:in `install'
/usr/local/Homebrew/Library/Homebrew/brew.rb:94:in `<main>'
```
이럴땐 실행 권한을 주자
``` bash
$ sudo chmod +t /private/tmp/
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment