Summary: | portage: collision-protect doesn't protect against overwriting of symlinks | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Harald van Dijk (RETIRED) <truedfx> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://article.gmane.org/gmane.linux.gentoo.devel/34289 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 115839 | ||
Attachments: | Treat symlinks like regular files |
Description
Harald van Dijk (RETIRED)
2005-12-23 10:44:16 UTC
Created attachment 75401 [details, diff]
Treat symlinks like regular files
Have confirmed that collision-protect doesn't take effect.
There's also a secondary(primary?) issue in that unmerging either or both of test and test2 will not remove /test or /test/sym. The attached patch fixes that issue.
2.1_pre2 uses mtimes to decide whether to unmerge symlinks. collision-protect hasn't been updated yet. Released in portage-2.1_pre3 Released in 2.1_pre4 |