Error fe-ssh.sh - Permission denied - unable to fork when cloning Git repository
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
Fisheye/Crucible is unable to clone a Git repository over SSH and the following error appears in the atlassian-fisheye-YYYY-MM-DD.log
:
Mon Jan 18 14:22:40 GMT-500 2016: Unable to clone remote repository: ssh://git@bitbucket.company.com:7999/project/repo.git - [fatal: cannot exec '/opt/atlassian/fisheye/fecru-3.9.0/bin/fe-ssh.sh': Permission denied, fatal: unable to fork] - Cloning into bare repository 'clone'...
原因
The user running Fisheye/Crucible does not have permission to execute the fe-ssh.sh
script.
ソリューション
Set the permissions correctly on <FISHEYE_INSTALLATION>/bin/fe-ssh.sh
so that the user running Fisheye/Crucible can execute the file. This can likely be accomplished with chmod +x fe-ssh.sh
.