# GIT Error issue

7 messages from 2006-04-19 to 2006-04-20. Participants: Shyamal Sadanshio, Sam Ravnborg, Krzysiek Pawlik, Erik Mouw, Martin Langhoff.
Thread: https://gitlist.dev/t/3917

## Shyamal Sadanshio, 2006-04-19 11:16

Subject: GIT Error issue
Message-ID: <3857255c0604190416j62abeae8va164896c5100f6ee@mail.gmail.com>
URL: https://gitlist.dev/e/3857255c0604190416j62abeae8va164896c5100f6ee%40mail.gmail.com

```
Hi,

I am newbie to GIT and facing some problem with the GIT usage. I am
trying to clone a repository at www.linux-mips.org with the
following command, I get error message as below:

**************************************************************************
[root@sshyamal git-tutorial]# git clone
git://ftp.linux-mips.org/pub/scm/linux-malta.git linux-malta.git
git: warning: invalid extra options ignored

GNU Interactive Tools 4.3.20 (i686-pc-linux-gnu), 12:39:46 Apr 18 2006
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.

***************************************************************************

I am exercising this command in root mode.
I have browsed through FAQs/archived mails but haven't come across
appropriate solution to this.
Can anyone please let me know the problem cause for this issue?

Thanks and Regards,
Shyamal

```

## Sam Ravnborg, 2006-04-19 11:20

Subject: Re: GIT Error issue
Message-ID: <20060419112028.GA7278@mars.ravnborg.org>
URL: https://gitlist.dev/e/20060419112028.GA7278%40mars.ravnborg.org
In-Reply-To: <3857255c0604190416j62abeae8va164896c5100f6ee@mail.gmail.com>

```
On Wed, Apr 19, 2006 at 04:46:57PM +0530, Shyamal Sadanshio wrote:
> Hi,
> 
> I am newbie to GIT and facing some problem with the GIT usage. I am
> trying to clone a repository at www.linux-mips.org with the
> following command, I get error message as below:
> 
> **************************************************************************
> [root@sshyamal git-tutorial]# git clone
> git://ftp.linux-mips.org/pub/scm/linux-malta.git linux-malta.git
> git: warning: invalid extra options ignored
> 
> GNU Interactive Tools 4.3.20 (i686-pc-linux-gnu), 12:39:46 Apr 18 2006
You are running the wrong git.
The git you are running are the "GNU Interactive Tools" and not git from
the git-suite.
Fix - uninstall "GNU Interactive Tools"

	Sam

```

## Krzysiek Pawlik, 2006-04-19 11:20

Subject: Re: GIT Error issue
Message-ID: <44461D0C.6010502@people.pl>
URL: https://gitlist.dev/e/44461D0C.6010502%40people.pl
In-Reply-To: <3857255c0604190416j62abeae8va164896c5100f6ee@mail.gmail.com>

```
Shyamal Sadanshio wrote:
> **************************************************************************
> [root@sshyamal git-tutorial]# git clone
> git://ftp.linux-mips.org/pub/scm/linux-malta.git linux-malta.git
> git: warning: invalid extra options ignored
> 
> GNU Interactive Tools 4.3.20 (i686-pc-linux-gnu), 12:39:46 Apr 18 2006
  ^   ^           ^

Use git - the content manager, not interactive tools. Use full path to
git executable.

-- 
Krzysiek Pawlik (Nelchael)
RLU #322999 GPG Key ID: 0xBC555551


```

## Erik Mouw, 2006-04-19 11:21

Subject: Re: GIT Error issue
Message-ID: <20060419112135.GA24807@harddisk-recovery.com>
URL: https://gitlist.dev/e/20060419112135.GA24807%40harddisk-recovery.com
In-Reply-To: <3857255c0604190416j62abeae8va164896c5100f6ee@mail.gmail.com>

```
On Wed, Apr 19, 2006 at 04:46:57PM +0530, Shyamal Sadanshio wrote:
> I am newbie to GIT and facing some problem with the GIT usage. I am
> trying to clone a repository at www.linux-mips.org with the
> following command, I get error message as below:
> 
> **************************************************************************
> [root@sshyamal git-tutorial]# git clone
> git://ftp.linux-mips.org/pub/scm/linux-malta.git linux-malta.git
> git: warning: invalid extra options ignored
> 
> GNU Interactive Tools 4.3.20 (i686-pc-linux-gnu), 12:39:46 Apr 18 2006
> 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.

You're using the wrong GIT. Remove the GNU Interactive Tools and use
git from kernel.org.

> ***************************************************************************
> 
> I am exercising this command in root mode.

There is absolutely zero reason to run git as root.


Erik

-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands

```

## Martin Langhoff, 2006-04-19 21:53

Subject: Re: GIT Error issue
Message-ID: <46a038f90604191453q567192b0l9a35d50f96f8705d@mail.gmail.com>
URL: https://gitlist.dev/e/46a038f90604191453q567192b0l9a35d50f96f8705d%40mail.gmail.com
In-Reply-To: <3857255c0604190416j62abeae8va164896c5100f6ee@mail.gmail.com>

```
If you are using Debian or a derivative, just do

   apt-get install git-core

which will remove the 'git' package (GNU Interactive Tools) and
install the git SCM. On RPM systems, probably

   yum install git-core

will do the trick.

cheers,


martin

```

## Shyamal Sadanshio, 2006-04-20 14:58

Subject: Re: GIT Error issue
Message-ID: <3857255c0604200758h20d7e3eel253fd5a916be4309@mail.gmail.com>
URL: https://gitlist.dev/e/3857255c0604200758h20d7e3eel253fd5a916be4309%40mail.gmail.com
In-Reply-To: <46a038f90604191453q567192b0l9a35d50f96f8705d@mail.gmail.com>

```
Thanks a lot for the pointer!
It worked now!!

Thanks and Regards,
Shyamal



On 4/20/06, Martin Langhoff <martin.langhoff@gmail.com> wrote:
> If you are using Debian or a derivative, just do
>
>    apt-get install git-core
>
> which will remove the 'git' package (GNU Interactive Tools) and
> install the git SCM. On RPM systems, probably
>
>    yum install git-core
>
> will do the trick.
>
> cheers,
>
>
> martin
>

```

## Shyamal Sadanshio, 2006-04-20 15:02

Subject: Re: GIT Error issue
Message-ID: <3857255c0604200802h43582fa5w5bd6093a90ab4b31@mail.gmail.com>
URL: https://gitlist.dev/e/3857255c0604200802h43582fa5w5bd6093a90ab4b31%40mail.gmail.com
In-Reply-To: <20060419112135.GA24807@harddisk-recovery.com>

```
Hi,

Yes, I had installed a wrong GIT.
Thanks it worked now!
However, with a http protocol instead of git and rsync because of
firewall issue, I guess!

Thanks and Regards,
Shyamal

On 4/19/06, Erik Mouw <erik@harddisk-recovery.com> wrote:
> On Wed, Apr 19, 2006 at 04:46:57PM +0530, Shyamal Sadanshio wrote:
> > I am newbie to GIT and facing some problem with the GIT usage. I am
> > trying to clone a repository at www.linux-mips.org with the
> > following command, I get error message as below:
> >
> > **************************************************************************
> > [root@sshyamal git-tutorial]# git clone
> > git://ftp.linux-mips.org/pub/scm/linux-malta.git linux-malta.git
> > git: warning: invalid extra options ignored
> >
> > GNU Interactive Tools 4.3.20 (i686-pc-linux-gnu), 12:39:46 Apr 18 2006
> > 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.
>
> You're using the wrong GIT. Remove the GNU Interactive Tools and use
> git from kernel.org.
>
> >
> ***************************************************************************
> >
> > I am exercising this command in root mode.
>
> There is absolutely zero reason to run git as root.
>
>
> Erik
>
> --
> +-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
> | Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
>

```
