[issue36656] Allow os.symlink(src, target, force=True) to prevent race conditions

Serhiy Storchaka report at bugs.python.org
Sat May 4 02:44:36 EDT 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

So what? Detected problem is better than non-detected problem. If and unexpected exception causes troubles in your code, it is up to you what to do with it: silence it, terminate an application, try to recreate a symlink in other place, etc. In any case this will not solve bigger problem that you have: attacker is able to change your symlinks.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36656>
_______________________________________


More information about the Python-bugs-list mailing list