[issue17180] shutil copy* unsafe on POSIX - they preserve setuid/setgit bits

Christian Heimes report at bugs.python.org
Wed Feb 13 14:04:01 CET 2013


Christian Heimes added the comment:

Here is a new patch with a new keyword argument preserve_sbits. Perhaps we use `True` as default for Python 2.6 to 3.3 and switch to False in Python 3.4?

----------
Added file: http://bugs.python.org/file29058/17180_preserve_sbits.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17180>
_______________________________________


More information about the Python-bugs-list mailing list