gitinstallationgit-bashgit-ftp

can not install git-ftp on windows 8


Newest git-bash installed, but can not install git-ftp.

I follow git-ftp-for-windows:

cd ~
git clone https://github.com/git-ftp/git-ftp git-ftp.git
cd git-ftp.git && chmod +x git-ftp
cp ~/git-ftp.git/git-ftp /bin/git-ftp

But cp: cannot create regular file ‘/bin/git-ftp’: Permission denied


Solution

  • I get the answers from Konstantin Khomoutov
    Just right click Git Bash, run as administrator,then cp ~/git-ftp.git/git-ftp /bin/git-ftp would be fine.