Skip to contentSkip to conversation

Remote git server dubious ownership

DISCUSSION Alessio De Marchi (GMail) 2 participants 2 messages Oct 8, 2024

lore
Share & tools
lore
#0 lore raw

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)

thanks

Alessio De Marchi

#1 lore raw

Hello,

Quoted 8 lines · Alessio De Marchi (GMail)

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:

Quoted 7 lines

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