# only accessing some git repos: Am I configuring daemon wrong?

2 messages from 2007-11-18 to 2007-11-18. Participants: Henrik Vendelbo, Junio C Hamano.
Thread: https://gitlist.dev/t/10916

## Henrik Vendelbo, 2007-11-18 13:18

Subject: only accessing some git repos: Am I configuring daemon wrong?
Message-ID: <9732aadb0711180518n26c2681aqe7f0a823012c6fe3@mail.gmail.com>
URL: https://gitlist.dev/e/9732aadb0711180518n26c2681aqe7f0a823012c6fe3%40mail.gmail.com

```
I run the daemon against a base directory with all my repos.

/repositories
  + /blingon
     + /config
  + /thepia
     + /config

The config directories are git repositories, and the repos are made
available with the following command:

henrik-computer:~ x$ git daemon --export-all --verbose --base-path=/repositories
[337] Connection from 192.168.9.130:56583
[337] Extended attributes (20 bytes) exist <host=192.168.9.165>
[337] Request upload-pack for '/blingon/all'
[337] Disconnected

For some reason when I try to pull over the git protocol to a
different machine using clone, I get a failure telling me that there
is 'no matching remote head'

I tried specifying the actual repo directories, but that made no difference.

Any ideas?

Henrik

```

## Junio C Hamano, 2007-11-18 18:48

Subject: Re: only accessing some git repos: Am I configuring daemon wrong?
Message-ID: <7vr6inv18i.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vr6inv18i.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <9732aadb0711180518n26c2681aqe7f0a823012c6fe3@mail.gmail.com>

```
"Henrik Vendelbo" <hvendelbo.dev@googlemail.com> writes:

> I run the daemon against a base directory with all my repos.
>
> /repositories
>   + /blingon
>      + /config
>   + /thepia
>      + /config
>
> The config directories are git repositories, and the repos are made
> available with the following command:
>
> henrik-computer:~ x$ git daemon --export-all --verbose --base-path=/repositories
> [337] Connection from 192.168.9.130:56583
> [337] Extended attributes (20 bytes) exist <host=192.168.9.165>
> [337] Request upload-pack for '/blingon/all'
> [337] Disconnected
>
> For some reason when I try to pull over the git protocol to a
> different machine using clone, I get a failure telling me that there
> is 'no matching remote head'
>
> I tried specifying the actual repo directories, but that made no difference.
>
> Any ideas?

Lack of any whitelist on the command line and --export-all?

Do you see "not in whitelist" in your error log?

```
