threads / discuss / 3917

GIT Error issue

Subject: GIT Error issue

## tl;dr

7 messages between Apr 19, 2006 and Apr 20, 2006.

replies: 6people: 5as markdown or json

Shyamal Sadanshio· Apr 19, 2006, 11:16 UTC · lore
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· Apr 19, 2006, 11:20 UTC · re: Shyamal Sadanshio · lore

Re: GIT Error issue

On Wed, Apr 19, 2006 at 04:46:57PM +0530, Shyamal Sadanshio wrote:
Show 12 quoted lines
> 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· Apr 19, 2006, 11:20 UTC · re: Shyamal Sadanshio · lore

Re: GIT Error issue

Shyamal Sadanshio wrote:
Show 6 quoted lines
> **************************************************************************
> [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· Apr 19, 2006, 11:21 UTC · re: Shyamal Sadanshio · lore

Re: GIT Error issue

On Wed, Apr 19, 2006 at 04:46:57PM +0530, Shyamal Sadanshio wrote:
Show 18 quoted lines
> 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
Shyamal Sadanshio· Apr 20, 2006, 15:02 UTC · re: Erik Mouw · lore

Re: GIT Error issue

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:
Show 37 quoted lines
> 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· Apr 19, 2006, 21:53 UTC · re: Shyamal Sadanshio · lore

Re: GIT Error issue

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· Apr 20, 2006, 14:58 UTC · re: Martin Langhoff · lore

Re: GIT Error issue

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

Thanks and Regards, Shyamal

On 4/20/06, Martin Langhoff <martin.langhoff@gmail.com> wrote:
Show 16 quoted lines
> 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
>

← back to recent threads