Bugs item #1559684, was opened at 2006-09-16 07:13 Message generated for change (Comment added) made by loewis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1559684&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Documentation Group: Platform-specific Status: Open Resolution: None Priority: 5 Submitted By: Roger Upole (rupole) Assigned to: Nobody/Anonymous (nobody) Summary: shutil.copyfile incomplete on NTFS Initial Comment: Files on NTFS 5 volumes can contain multiple data streams. Copyfile currently just reads the default unnamed stream, losing document summary information and any named streams that have been added to the file. ---------------------------------------------------------------------- >Comment By: Martin v. Löwis (loewis) Date: 2006-09-16 19:29 Message: Logged In: YES user_id=21627 copyfile indeed fails to copy a lot of attributes of the file, e.g. the file owner and group are not copied, and neither are the ACLs. Unfortunately, it is not possible to implement a full copy; shutil.copyfile has always only copied the file contents. To implement a full copy, more Win32 would need to be exposed. Use the CopyFile function from the Win32 extensions for a full copy. Reclassifying this as a documentation bug: the documentation should mention that this only copies the direct file contents. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1559684&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com