[issue15100] Race conditions in shutil.copy, shutil.copy2 and shutil.copyfile

Brad Tilley brad at 16systems.com
Thu Jul 5 18:59:05 CEST 2012


"Additionally, shutil.copyfile procedure seems to have a problem with
symlinks that could result in the corruption of content of any file on
filesystem (in favorable conditions)."

---

Does the shutil.copyfile corruption issue impact Python 2.6? And, what
sort of "favorable conditions" need to exist for this to happen? I ask
because we are seeing some file corruption on a GPFS filesystem where we
are using Python 2.6 and shutil.copyfile with symlinks.

I'm not on this list, so cc me if you reply to the list and want me to see
the response.

Thanks,

Brad



More information about the Python-bugs-list mailing list