Re: GIT Error issue
- From
- Erik Mouw <erik@harddisk-recovery.com>
- Date
- Apr 19, 2006, 11:21 UTC
- Message-ID
- <20060419112135.GA24807@harddisk-recovery.com>
- In-Reply-To
- <3857255c0604190416j62abeae8va164896c5100f6ee@mail.gmail.com>
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