Skip to content

Keybase git "unknown error: fatal: detected dubious ownership in repository at '.git'" for shared repository #28594

@figachek

Description

@figachek

Hello,
we have shared repo for group "icinga" with permissions:
drwxrwsr-x 9 root icinga 4096 Nov 4 08:24 .git

when i try to push to remote repository, i have a error:
[master 75eac40] test 1 file changed, 1 insertion(+) Initializing Keybase... done. Syncing with Keybase... done. To keybase://team/brightpatt/Icinga2 ! [remote rejected] master -> master (unknown error: fatal: detected dubious ownership in repository at '.git') error: failed to push some refs to 'keybase://team/brightpatt/Icinga2'
I'm a member of "icinga" group
id nikita.yurkov uid=1008(nikita.yurkov) gid=1008(nikita.yurkov) groups=1008(nikita.yurkov),992(sudo),989(icinga)
and i set
git config --global --add safe.directory /etc/icinga2

my log id: d22eb8b7f263549c6754151c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions