| Summary: | dev-python/wheel: clobbers python-exec when installing IPython (and possibly other packages) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Eric Hermes <erichermes> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | mgorny |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Eric Hermes
2016-10-13 21:22:15 UTC
Look for stray open(..., 'w') calls. They like to think it's fine to write straight into files on the system. wheel/install.py has stray: destination = HashingFile(open(dest, 'wb')) with no check whether destination doesn't already exist. Which obviously makes it clobber symlinks, lock on named pipes, write to device files and do other terrible things. Well, my original upstream bug was wrong and I don't really know if it still happens. If you hit it again, please reopen. |