Seite 1 von 1

Installation git permission denied

Verfasst: 27. Okt 2017 23:29
von Peter
The command:
sudo git clone https://github.com/openhab/openhabian.git /opt/openhabian

results in an error: git: fatal error: `chdir' failed: permission denied.

I've tried several things (like chmod dir and add user to group sudo) but without effect.

The complete respons:

Podium:~# sudo git clone https://github.com/openhab/openhabian.git /opt/openhabian
git: warning: invalid extra options ignored

GNU Interactive Tools 4.3.20 (sparc-unknown-linux-gnu), 23:30:02 Jan 26 2005
GIT is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.
Copyright (C) 1993-1999 Free Software Foundation, Inc.
Written by Tudor Hulubei and Andrei Pitis, Bucharest, Romania

git: fatal error: `chdir' failed: permission denied.
Podium:~#

Any advise would be most welcome!
Euere Hilfe wird sehr geschätz!

Re: Installation git permission denied

Verfasst: 29. Okt 2017 15:29
von Cyrelian
Hi Peter,

it seems you are using Mandriva.

you have to install git-core.

Code: Alles auswählen

sudo apt-get remove git
sudo apt-get install git-core
regards
Cyrelian