Download raw body.
got send – got-send-pack: unexpected end of file
On 2026-01-16 23:57, Sylvain Saboua wrote:
> Problem solved ! I forgot to fix the permissions when tinkering with
> the hierarchy of my repertoires.
> Would you please tell me if this looks reasonable :
nvm, I did as you advised in a previous email :
https://marc.info/?l=gameoftrees&m=176544472821318&w=2
$ cd /home/git
$ doas chown -R _gotd:_gotwebd .
$ doas chmod 750 . *
Seems to work all round now, although I'm curious as per the 'correct'
permissions, if any (?)
>
> ```
> $ cd /home/git ; ls -ld /home/git ; ls -l /home/git
> drwxr-xr-x 6 _gotd _gotd 512 Jan 16 23:41 /home/git/
> total 64
> drwxrwxr-x 4 sylvain _gotd 512 Mar 24 2025 geomant/
> drwxrwxr-x 4 sylvain _gotd 512 Apr 26 2025 nwpg/
> drwxrwxr-x 4 sylvain _gotd 512 Mar 11 2025 saboua.xyz/
> drwxrwxr-x 4 sylvain _gotd 512 Mar 4 2025 sylvain.sab.free.fr/
> $ find nwpg -exec chown sylvain:_gotd {} \;
> $ find nwpg -type d -exec chmod 775 {} \;
> $ find nwpg -type f -exec chmod 664 {} \;
> ```
>
> (I don't know why, using a wildcard instead of `nwpg' fails on some
> files. Doesn't look problematic)
>
> Here is the log (from /var/log/daemon) extract that gave me the hint :
> `Jan 16 23:33:30 lap gotd[17363]: uid 1000: mkstemps:
> /home/git/nwpg/objects/pack/receiving-from-uid-1000.pack-FS7MmbR4sO:
> Permission denied
>
> The final lines from got send -vvv
>
> ```
> debug2: channel 0: send close for remote id 0
> got-send-pack: readpkt: 10: debug3: send packet: type 97
> unpackdebug2: channel 0: is dead
> okdebug2: channel 0: garbage collecting
> [0x0a]
> debug1: channel 0: free: client-session, nchannels 1
> got-send-pack: readpkt: 19: ok refs/headebug3: channel 0: status:
> The following connections are open:
> #0 client-session (t4 [session] r0 nm0 i3/0 o3/0 e[write]/0 fd
> -1/-1/8 sock -1 cc -1 nc0 io 0x00/0x00)
>
> ds/main[0x0a]
> debug3: send packet: type 1
> Transferred: sent 4900, received 4392 bytes, in 1.2 seconds
> Bytes per second: sent 3929.3, received 3521.9
> debug1: Exit status 0
>
> Server has accepted refs/heads/main
> ```
>
> If you're curious, you can see the update here :
> https://got.saboua.xyz/?action=summary&path=nwpg
>
> Cheers
--
Sylvain Saboua
looking for a PDP-11
got send – got-send-pack: unexpected end of file