This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ianare
Recipients ianare
Date 2007-12-03.07:08:48
SpamBayes Score 0.214918
Marked as misclassified No
Message-id <>
When using shutil.copy2 or copytree where the source is on a filesystem
that has octal permissions (ie ext3) and the destination is on an NTFS
partition mounted rw, the operation fails with

OSError: [Errno 1] Operation not permitted

I am attaching a version of where this has been worked around
by calling copystat like so:

    copystat(src, dst)
except OSError, (n, str):
    # can't change stats on NTFS partition even if
    # OS supports it
    if n == 1:
        raise Error, str
File name Uploaded ianare, 2007-12-03.07:08:48
Date User Action Args
2007-12-03 07:08:50ianaresetspambayes_score: 0.214918 -> 0.214918
recipients: + ianare
2007-12-03 07:08:50ianaresetspambayes_score: 0.214918 -> 0.214918
messageid: <>
2007-12-03 07:08:50ianarelinkissue1545 messages
2007-12-03 07:08:48ianarecreate