#552 fatal: detected dubious ownership in repository
Closed: Won't fix by onosek. Opened by msuchy.

When I try: fedpkg clone I get

$ fedpkg clone python-logdetective
Cloning into 'python-logdetective'...
fatal: detected dubious ownership in repository at '/srv/git/repositories/rpms/python-logdetective.git'
To add an exception for this directory, call:
        git config --global --add safe.directory /srv/git/repositories/rpms/python-logdetective.git
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Could not execute clone: Failed to execute command.

When I try the same with pure git I get:

$ git clone https://src.fedoraproject.org/rpms/python-logdetective.git
Cloning into 'python-logdetective'...
remote: Enumerating objects: 26, done.
remote: Counting objects: 100% (26/26), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 26 (delta 8), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (26/26), 3.85 KiB | 358.00 KiB/s, done.

So I guess this is fedpkg issue.


This is a server side issue. By default the cloning happens over ssh.

You can replicate the issue with plain git:
git clone ssh://$USER@pkgs.fedoraproject.org/rpms/python-logdetective

Alternatively, fedpkg clone --anonymous will use https:// and that will work just fine.

It is working now:

$ git clone ssh://$USER@pkgs.fedoraproject.org/rpms/python-logdetective
Cloning into 'python-logdetective'...
remote: Enumerating objects: 26, done.
remote: Counting objects: 100% (26/26), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 26 (delta 8), reused 3 (delta 0), pack-reused 0
Receiving objects: 100% (26/26), done.
Resolving deltas: 100% (8/8), done.

Metadata Update from @onosek:
- Issue close_status updated to: Won't fix
- Issue status updated to: Closed (was: Open)

Metadata