LoginSignup
5
4

More than 5 years have passed since last update.

Capistrano3で`#<RuntimeError: ☺scp: /tmp/foo/git-ssh.sh: Permission denied`への対処法

Last updated at Posted at 2014-05-11

色々やってたらこんなエラーで困る。

The deploy has failed with an error: #<RuntimeError: ☺scp: /tmp/foo/git-ssh.sh: Permission denied

解決作

別ユーザーが既に/tmpにそういうディレクトリ作っちゃってたので起きたエラーなので、一度サーバーにログインして $ rm -rf /tmp/foo で解決

参考

それから

このエラーはデプロイユーザーを変更したので起こってます。
なので、あとデプロイ先も全部削除しとかないと権限不足でエラーになります。はい。

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4