New submission from Vojtěch Pachol:
`copy2` checks if `os` nodule has `chmod` and then it uses it without thinking.
On filesystems that doesn't support `chmod` it ends with
OSError: [Errno 95] Operation not supported: <filename>
which is not acceptable since documentation says "copy2() never returns
failure".
----------
components: Library (Lib)
messages: 261100
nosy: Vojtěch Pachol
priority: normal
severity: normal
status: open
title: shutil.copy2 raises OSError if filesystem doesn't support chmod
versions: Python 2.7, Python 3.4, Python 3.5
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26468>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com