Installation git permission denied

Einrichtung der openHAB Umgebung und allgemeine Konfigurationsthemen.

Moderatoren: seppy, udo1toni

Antworten
Peter
Beiträge: 1
Registriert: 22. Okt 2017 15:21
Answers: 0

Installation git permission denied

Beitrag 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!

Benutzeravatar
Cyrelian
Beiträge: 601
Registriert: 24. Sep 2015 17:55
Answers: 4

Re: Installation git permission denied

Beitrag 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

Antworten