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

Re: Remote git server dubious ownership

From
Michal Suchánek <msuchanek@suse.de>
Date
Oct 8, 2024, 18:27 UTC
Message-ID
<ZwV5iiX7ssf4yk53@kitsune.suse.cz>
In-Reply-To
<447ddc34-ab3a-4607-908f-64b9cc0268fd@gmail.com>
Hello,
On Tue, Oct 08, 2024 at 05:14:49PM +0200, Alessio De Marchi (GMail) wrote:
Show 15 quoted lines
> Hello
> 
> I'm using git v2.46.2 on windows, and I have a server linux (git v2.45.2)
> where me and other developer push our repositories.
> 
> If i push my changes on a repository that is owned by another user the
> server git respond:
> 
> fatal: detected dubious ownership in repository...
> 
> 
> So I can push changes only in repository owned by myself.
> 
> It is possible to share a repository to more that one user? (I remember that
> it was possible untill some years ago)

look for the git safe.directory option. That makes it possible to specify which repositories are shared.

HTH
Michal
Previous: Alessio De Marchi (GMail)
Message 2 of 2 in “Remote git server dubious ownership”
  1. Alessio De Marchi (GMail)Oct 8, 2024
  2. Michal SuchánekOct 8, 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.