Re: git server changes - how to allow https AND ssh now that /srv/git/xxx.git must be owned by http?

2024-06-16 Thread Óscar García Amor
El dom, 16-06-2024 a las 18:39 -0500, David C. Rankin escribió: >    github does something. I can pull over https and ssh still works > there. It > may be worth opening an issue with git to see how they feel this > catch 22 > should be handled for locally hosted servers. If I find a fix, I'll > r

Re: git server changes - how to allow https AND ssh now that /srv/git/xxx.git must be owned by http?

2024-06-16 Thread Carl Lei
On Sun, 16 Jun 2024 03:41:57 -0500 "David C. Rankin" wrote: > All, > >After recent git update, read only repos hosted on a local Apache > server could no longer pull over https. (gitweb remained fine) > Repositories closed read/write over ssh were fine. > >On the server the repositories

Re: git server changes - how to allow https AND ssh now that /srv/git/xxx.git must be owned by http?

2024-06-16 Thread Ryan Petris
On Sun, Jun 16, 2024, at 4:39 PM, David C. Rankin wrote: > On 6/16/24 05:30, Guus Snijders wrote: > > Have you tried using http:david instead? > > And make sure the files are group-writable. > > > > I haven't tested this, but this seems to answer all the mentioned > > constraints. > > > > Thank

Re: git server changes - how to allow https AND ssh now that /srv/git/xxx.git must be owned by http?

2024-06-16 Thread x choice
🤔 maybe you can give yourself permissions to http owned files with ACLs https://www.redhat.com/sysadmin/linux-access-control-lists On Sun, Jun 16, 2024, 20:39 David C. Rankin wrote: > On 6/16/24 05:30, Guus Snijders wrote: > > Have you tried using http:david instead? > > And make sure the files

Re: git server changes - how to allow https AND ssh now that /srv/git/xxx.git must be owned by http?

2024-06-16 Thread David C. Rankin
On 6/16/24 05:30, Guus Snijders wrote: Have you tried using http:david instead? And make sure the files are group-writable. I haven't tested this, but this seems to answer all the mentioned constraints. Thank you Guus, Unfortunately, yes, I've tried every combination of user:group ownershi

Re: git server changes - how to allow https AND ssh now that /srv/git/xxx.git must be owned by http?

2024-06-16 Thread Ryan Petris
On Sun, Jun 16, 2024, at 3:30 AM, Guus Snijders wrote: > Op zo 16 jun. 2024 10:42 schreef David C. Rankin : >> [···] >>On the server the repositories under /srv/git were owned david:david >> (me). >> However, after the git change, git refused to serve over https unless the >> directories und

Re: git server changes - how to allow https AND ssh now that /srv/git/xxx.git must be owned by http?

2024-06-16 Thread Guus Snijders
Op zo 16 jun. 2024 10:42 schreef David C. Rankin : > [···] >On the server the repositories under /srv/git were owned david:david > (me). > However, after the git change, git refused to serve over https unless the > directories under /srv/git were owned by http. > >Fine, change made - but n

Re: git server changes - how to allow https AND ssh now that /srv/git/xxx.git must be owned by http?

2024-06-16 Thread Christian Heusel
On 24/06/16 03:41AM, David C. Rankin wrote: > All, Hello everyone, > After recent git update, read only repos hosted on a local Apache server > could no longer pull over https. (gitweb remained fine) Repositories closed > read/write over ssh were fine. > > On the server the repositories unde

git server changes - how to allow https AND ssh now that /srv/git/xxx.git must be owned by http?

2024-06-16 Thread David C. Rankin
All, After recent git update, read only repos hosted on a local Apache server could no longer pull over https. (gitweb remained fine) Repositories closed read/write over ssh were fine. On the server the repositories under /srv/git were owned david:david (me). However, after the git chang