# '/pub/git/u-boot.git': not in whitelist. Please help!

2 messages from 2008-11-21 to 2008-11-21. Participants: Gary Yang, Johannes Sixt.
Thread: https://gitlist.dev/t/16420

## Gary Yang, 2008-11-21 02:20

Subject: '/pub/git/u-boot.git': not in whitelist. Please help!
Message-ID: <202329.35126.qm@web37906.mail.mud.yahoo.com>
URL: https://gitlist.dev/e/202329.35126.qm%40web37906.mail.mud.yahoo.com

```

At git public repository server, I started git-daemon

sudo git-daemon git-daemon -verbose --inetd --export-all --base-path=/pub/git &

grep 9418 /etc/services
git             9418/tcp                        # Git Version Control System

At my private machine:
git pull git://svdcgit01.amcc.com/pub/git/u-boot.git
fatal: The remote end hung up unexpectedly

At the git public repository server, I got:
'/pub/git/u-boot.git': not in whitelist

ls /pub/git/u-boot.git
branches/  config  description  HEAD  hooks/  info/  objects/  refs/

What I did wrong? Please help.




      

```

## Johannes Sixt, 2008-11-21 07:26

Subject: Re: '/pub/git/u-boot.git': not in whitelist. Please help!
Message-ID: <492662AE.6020202@viscovery.net>
URL: https://gitlist.dev/e/492662AE.6020202%40viscovery.net
In-Reply-To: <202329.35126.qm@web37906.mail.mud.yahoo.com>

```
Gary Yang schrieb:
> At git public repository server, I started git-daemon
> 
> sudo git-daemon git-daemon -verbose --inetd --export-all --base-path=/pub/git &

Did you mean

  $ sudo git daemon --verbose --inetd --export-all --base-path=/pub/git &

(Notice the duplicated 'git-daemon' in your command.)

> grep 9418 /etc/services
> git             9418/tcp                        # Git Version Control System
> 
> At my private machine:
> git pull git://svdcgit01.amcc.com/pub/git/u-boot.git
> fatal: The remote end hung up unexpectedly
> 
> At the git public repository server, I got:
> '/pub/git/u-boot.git': not in whitelist

They way in which you invoked git-daemon said that the following
directories are white-listed:

 git-daemon
 -verbose
 --inetd
 --export-all
 --base-path=/pub/git

Nowhere in this list is /pub/git/u-boot.git.

;)

-- Hannes

```
