3 ms·
chmod: /Applications/Xcode.app/Contents/Developer/usr/bin/git: No such file or directory I don't have Xcode installed, do I have to install it back to do this?
by yelnatz 10y ago
chmod: /Applications/Xcode.app/Contents/Developer/usr/bin/git: No such file or directory
I don't have Xcode installed, do I have to install it back to do this?
- dchest 10y agoNo, vulnerable git ships with Xcode.
- madeofpalk 10y agoIf you don't have Xcode installed then you don't have git. IIRC, you might have a /usr/bin/git executable but that's not actually git, all it does is shows a GUI that prompts you to install XCode
- yelnatz 10y agoThanks. Yea, /usr/bin/git is still there: $ git --version $ git version 2.6.4 (Apple Git-63) But glad to know it won't do anything.
- deleted 10y ago[deleted]
- deleted 10y ago[deleted]
- danieldk 10y agoTry: % xcrun --find git
- capitalsigma 10y ago> IIRC, you might have a /usr/bin/git executable but that's not actually git, all it does is shows a GUI that prompts you to install XCode wat
- joelkesler 10y agoIf you do not have Xcode installed but do have the Command Line Tools, you will find the vulnerable git /Library/Developer/CommandLineTools/usr/bin/git so the command would be: sudo chmod -x /Library/Developer/CommandLineTools/usr/bin/git