Message93380
| Author |
amaury.forgeotdarc |
| Recipients |
amaury.forgeotdarc, gregory.p.smith, ned.deily, r.david.murray, schmir, twb |
| Date |
2009年09月30日.22:50:48 |
| SpamBayes Score |
3.6578217e-07 |
| Marked as misclassified |
No |
| Message-id |
<1254351050.4.0.500781813967.issue6972@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The patch won't work if the target file already exists as a symlink.
I think that such a check is not a good idea. Using symlinks to extract files
to somewhere else may be a feature, after all. Specially if the symlink
already exists before the operation. Some real-case example:
/home/xxx/bin --> symlink to /someotherpath/bin
/home/xxx/lib --> symlink to /someotherpath/lib
Now I want to extract "lib/libXXX.so" into "/home/xxx"
I suggest to only update the documentation with a warning, similar to the one
for the tarfile module. |
|