git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: Git bug report - CNS - Shared repository permissions issues under RedHat 9

From
JBJordi Balcells-Smith <jsmith@cnsonline.net>
Date
Oct 15, 2024, 12:18 UTC
Message-ID
<AUXP273MB0503E37C64D153D4C76A87D2DB452@AUXP273MB0503.AREP273.PROD.OUTLOOK.COM>
In-Reply-To
<Zw24GJnLlqTuCOsM@nand.local>
Hi Taylor,
Thanks for your prompt reply. Apologies for this being a support enquiry rather than bug report.
Yeah, it was quite a leap actually! I got confused between the core.sharedRepository and safe.directory settings.
Setting the latter in the server made it. I presume the intent of safe.directory is to have a more granular control in shared repos.
Thank-you very much,

Jordi Balcells-Smith Service support specialist - IT operations Community Network Services

-----Original Message-----
From: Taylor Blau <me@ttaylorr.com> 
Sent: Tuesday, October 15, 2024 1:32 AM
To: Jordi Balcells-Smith <Jsmith@cnsonline.net>
Cc: git@vger.kernel.org
Subject: Re: Git bug report - CNS - Shared repository permissions issues under RedHat 9
On Mon, Oct 14, 2024 at 12:07:07PM +0000, Jordi Balcells-Smith wrote:
> We upgraded the operating system from RedHat Enterprise Linux 7 to 9.
> This upgrade pulled the version of Git from 1.8.3.1 to 2.43.5.
Given that 1.8.3.1 was tagged sometime in June, 2013, I'd say that is quite the jump ;-).
Show 13 quoted lines
>
> c:\tmp\gittest>git clone 
> ssh://10.150.80.53/data/git/cns/repo-parent/repo.git
> Cloning into 'repo'...
> fatal: detected dubious ownership in repository at '/data/git/cns/repo-parent/repo.git'
> To add an exception for this directory, call:
>
>         git config --global --add safe.directory 
> /data/git/cns/repo-parent/repo.git
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights and the repository 
> exists
This is intentional. Please see the documentation in git-config(1) on safe.directory for more information about what this check does and how to disable it (if you desire).

Thanks, Taylor

Previous: Taylor Blau
Message 3 of 3 in “Git bug report - CNS - Shared repository permissions issues under RedHat 9”
  1. Jordi Balcells-SmithOct 14, 2024
  2. Taylor BlauOct 15, 2024
  3. Jordi Balcells-SmithOct 15, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.