You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extrawurst
changed the title
invalid path please run gitui inside of a non-bare git repository (repository is not bare)
path ownership rights issue leads to invalid bare repo detection
Apr 7, 2025
What I would like us in gitui to do is to improve the diagnostics, to not falsely error out claiming the repo is bare when in fact in the logs we see that we can detect that its a folder ownership/rights issue
When I run gitui, I get the following error:
The repository is not bare! git status reports no problems.
Following the docs, I run gitui with logging enabled
gitui -l
The log file contains the following line:
This appears to be an error directly from git, which is related to this CVE 2022-24765 (https://nvd.nist.gov/vuln/detail/cve-2022-24765)
The workaround I found was to configure git to treat the directory as safe.
The global approach is:
This defeats the extra safety checks added by git to address cve-2022-24765.
In my single-user-machine context, I am happy with that risk.
In a true multi-user environment, and more fine-grained approach would be recommended.
The text was updated successfully, but these errors were encountered: