Antoine Pitrou <pit...@free.fr> added the comment: > On my system (Win Server 2008 R2 64-Bit, Python 2.7.1), when I use > copy, copy2 or move(to another filesystem), the file _will_ get the > ACL of the DST folder, and remove any ACL in SRC file that the DST > folder does not have. > > Thus, it doesn't copy it from the source file, but inherits from the > DST folder.
Again, this follows from the warning at the top of the shutil doc page: “On Windows, file owners, ACLs and alternate data streams are not copied.” If they are not copied, then obviously they simply get the default value for a new file, which is simply the value of the containing folder. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11202> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com