Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: This seems to be a documentation issue.
""" shutil.copy2(src, dst) Similar to copy(), but last access time and last modification time are copied as well. This is similar to the Unix command cp -p. """ -- http://docs.python.org/dev/library/shutil.html#shutil.copy2 Does not mention permissions while """ $ pydoc shutil.copy2 shutil.copy2 = copy2(src, dst) Copy data and all stat info ("cp -p src dst"). """ implies that the permissions should be copied. Maybe the documentation should simply recite the implementation: copy2 is copyfile follwed by copystat. ---------- nosy: +belopolsky __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2845> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com