From: Kyle Ackerman Subject: Re: Two repos refuse being cloned by anonymous To: Sylvain Saboua Cc: Gameoftrees Date: Tue, 22 Sep 2026 20:04:57 -0600 Sylvain Saboua writes: > On 2026-09-22 18:28, Stefan Sperling wrote: >> On Tue, Sep 22, 2026 at 04:05:28PM +0200, Sylvain Saboua wrote: >>> I cannot for the life of me understand what my be wrongly configured. >>> My gotwebd(8) server is up on my new machine at >>> https://got.saboua.xyz/ >>> Every repo is displayed and accessible as should be. >>> I can clone every repo from remote (using my public hostname) with >>> my own user account. But the first two repos (belote, bkup) refuse >>> to be cloned when using an anonymous account. Every other repo can >>> be cloned fine remotely or locally with either account. >>> As far as I can remember every repo was set up the same. >>> What could I have done wrong ? >> Please add -v -v to gotd_flags and check what gets logged when you >> try the clone operations which fail. >> > Here is the log with two `-v's, using one after the other > got cl ssh://anonymous@srv/belote and ssh://anonymous@srv/bkup anonymous > from a local machine: > > srv# /usr/local/sbin/gotd -d -v -v > parent: socket: /var/run/gotd.sock > parent: user: _gotd > listen: listening for client connections > listen: gotd_accept: new client connected on fd 6 uid 1002 gid 1002 > parent: recv_connect: new client uid 1002 connected on fd 7 > parent: list-refs request from uid 1002 > parent: starting auth for uid 1002 repository belote > parent: proc auth /home/git/belote is on fd 8 > auth /home/git/belote: authentication request received > auth /home/git/belote: authenticating uid 1002 gid 1002 > auth /home/git/belote: no git repository found > parent: uid 1002: no git repository found > parent: uid 1002: disconnecting > parent: kill -15 68837 > auth /home/git/belote: auth /home/git/belote: shutting down > listen: client disconnecting > listen: client on fd 6 disconnecting > parent: reaped pid 68837 > listen: gotd_accept: new client connected on fd 6 uid 1002 gid 1002 > parent: recv_connect: new client uid 1002 connected on fd 7 > parent: list-refs request from uid 1002 > parent: starting auth for uid 1002 repository bkup > parent: proc auth /home/git/bkup is on fd 8 > auth /home/git/bkup: authentication request received > auth /home/git/bkup: authenticating uid 1002 gid 1002 > auth /home/git/bkup: no git repository found > parent: uid 1002: no git repository found > parent: uid 1002: disconnecting > parent: kill -15 61367 > auth /home/git/bkup: auth /home/git/bkup: shutting down > listen: client disconnecting > listen: client on fd 6 disconnecting > parent: reaped pid 61367 > >>> I also just ran reset_git: >>> chown -R _gotd:_gotd /home/git ; >>> chmod -R 750 /home/git ; >>> chmod 755 /home/git ; >>> srv# more /etc/gotd.conf >>> repository belote { >>> path '/home/git/belote' >>> permit rw sylvain >>> permit ro anynomous >>> } anynomous >>> repository bkup { >>> path '/home/git/bkup' >>> permit rw sylvain >>> permit ro anynomous >>> } anynomous >>> repository example_C_skel { >>> path '/home/git/example_C_skel' >>> permit rw sylvain >>> permit ro anonymous >>> } >>> repository geomant { >>> path '/home/git/geomant' >>> permit rw sylvain >>> permit ro anonymous >>> } >>> repository nwpg { >>> path '/home/git/nwpg' >>> permit rw sylvain >>> permit ro anonymous >>> } >>> repository saboua.xyz { >>> path '/home/git/saboua.xyz' >>> permit rw sylvain >>> permit ro anonymous >>> } >>> repository sylvain.sab.free.fr { >>> path '/home/git/sylvain.sab.free.fr' >>> permit rw sylvain >>> permit ro anonymous >>> } >>> Would this be a misspelling in your configuration?