[issue1545] shutil fails when copying to NTFS in Linux

Christian Heimes report at bugs.python.org
Mon Dec 3 13:35:08 CET 2007


Christian Heimes added the comment:

Better patch:

import errno

try:
    copystat(src, dst)
except OSError, err:
    # can't change stats on NTFS partition even if
    # OS supports it
    if err.errno != errno.EPERM:
        raise

----------
keywords: +patch
nosy: +tiran
priority:  -> normal
versions: +Python 2.6, Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1545>
__________________________________


More information about the Python-bugs-list mailing list