[ZODB-Dev] Overwriting existing files in rename_or_copy_blob
Thomas Lotze
thomas at thomas-lotze.de
Wed Apr 30 04:00:55 EDT 2008
ZODB.blob.rename_or_copy_blob may silently overwrite existing blob files
since it uses os.rename without checking for the target file first. This
may affect committed data although we remove write permissions after the
commit.
This seems questionable to us, so we wonder whether it is actually desired
behaviour or a bug. We think raising an error would be appropriate.
--
Thomas
More information about the ZODB-Dev
mailing list