[prev in list] [next in list] [prev in thread] [next in thread]
List: cgit
Subject: Re: OpenBSD - Error reading owner-info for <REPOPATH>: No such file or directory (2)
From: "Paul W. Rankin" <pwr () bydasein ! com>
Date: 2021-02-25 12:09:14
Message-ID: f0f3036c12c9249e1f990bc8d9b2066f () bydasein ! com
[Download RAW message or body]
On 2021-02-25 20:26, John Keeping wrote:
> On Thu, Feb 25, 2021 at 05:00:57PM +1000, Paul W. Rankin wrote:
>> I'm running cgit v1.2.3 on OpenBSD 6.8 with httpd and slowcgi. I'm
>> getting tons of log errors in the form:
>> Error reading owner-info for <REPOPATH>: No such file or
>> directory
>> (2)
>
> Without any changes to the code, if you set "repo.owner" (or
> "gitweb.owner" if you have "enable-git-config" set) then this value
> will
> be used and the loop that tries getpwuid() won't be entered.
>
> I think it would be reasonable to provide a way to disable the "owner
> from filesystem" code via cgitrc. It's probably meaningless in many
> setups, for example with Gitolite, where all the repositories are owned
> by a "git" user anyway.
Thank you John, this solved it!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic