Git development
 help / color / mirror / Atom feed
* '/pub/git/u-boot.git': not in whitelist. Please help!
@ 2008-11-21  2:20 Gary Yang
  2008-11-21  7:26 ` Johannes Sixt
  0 siblings, 1 reply; 2+ messages in thread
From: Gary Yang @ 2008-11-21  2:20 UTC (permalink / raw)
  To: git


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.




      

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: '/pub/git/u-boot.git': not in whitelist. Please help!
  2008-11-21  2:20 '/pub/git/u-boot.git': not in whitelist. Please help! Gary Yang
@ 2008-11-21  7:26 ` Johannes Sixt
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Sixt @ 2008-11-21  7:26 UTC (permalink / raw)
  To: garyyang6; +Cc: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-21  7:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-21  2:20 '/pub/git/u-boot.git': not in whitelist. Please help! Gary Yang
2008-11-21  7:26 ` Johannes Sixt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox