Unable to create git-proxy.sh file in /bin folder in ubuntu 20.04.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-06-05 09:33 PM
C $> sudo apt-get update
PC $> sudo apt-get install corkscrew
PC $> git config --replace-all --global core.gitproxy "$HOME/bin/git-proxy.sh"
PC $> git config --add --global core.gitproxy "none for <MyPrivateNetworkDomain>" (optional, for example .st.com or localhost)
PC $> echo 'exec corkscrew <MyProxyServerUrl> <MyProxyPort> $* $HOME/.git-proxy.auth' > $HOME/bin/git-proxy.sh
PC $> chmod 700 $HOME/bin/git-proxy.sh
PC $> echo '<MyProxyLogin>:<MyProxyPassword>' > $HOME/.git-proxy.auth
PC $> chmod 600 $HOME/.git-proxy.auth
I'm following above commands but when execute "echo 'exec corkscrew <MyProxyServerUrl><MyProxyPort> $* $HOME/.git-proxy.auth' > $HOME/bin/git-proxy.sh" it says git-proxy.sh not found
- Labels:
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-06-07 07:22 AM
Hi @Community member ,
check admin right on you station.
do you have write to create a file in $HOME/bin ?
Did you check to create and edit file content by another mean ?
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.