warning: 'C:\ProgramData/Git/config' has a dubious owner: 'S-1-5-21-2380165290-1749897186-383349493-670437'

Viewed 4327
warning: 'C:\ProgramData/Git/config' has a dubious owner: 'S-1-5-21-2380165290-1749897186-XXXXXXXXX-670437'.
For security reasons, it is therefore ignored.
To fix this, please transfer ownership to an admininstrator.
ERROR: Your account is suspended. Please check with your installation administrator.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Git config file values are also fine.

enter image description here

I have access to a GitHub enterprises repo with a maintainer. It was working before today only I a getting the error. Please help me to resolve this issue. Thanks.

1 Answers

The error seems coming from the file owner issues.

Try to change the C:\\ProgramData\\Git\\config owner, by right-click it -> Properties -> Security -> Advanced (with similar meaning, I am not using an English version of Windows), then change the owner to, for example, Administrator, as the error log indicates.

Related