Poetry: Fixing dubious ownership error
All notes in this series:
- Poetry: Fixing dubious ownership error
- Poetry: build.py example
- Poetry: Automatically generate package version from git commit
- Poetry: Fix warning about sources
- Poetry: Running Black and isort with pre-commit hooks
- Poetry: Fixing permission error when upgrading dulwich
- NiceGUI with Click, Poetry, auto-reload and classes
- Poetry: Offline installation of packages
- Run Poetry command as systemd service
- GitLab CI and poetry-dynamic-versioning
- Poetry: install alpha builds
- Upgrade version of pkginfo used by Poetry
On a Python project using poetry, when running poetry build
I got the error:
Though Poetry raises the error, it actually originates from git. Similar “dubious ownership” errors are common with other tools and scenarios.
In my case, it was suitable to fix this by telling git the current directory is safe:
Backlinks §
- GitHub user shadeyg56 has linked back to this page from this auto-cpufreq issue.
- GitHub user amogus07 has linked back to this page from this auto-cpufreq PR.