]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
backport akuchling's checkin of
authorMichael W. Hudson <mwh@python.net>
Fri, 22 Feb 2002 13:22:55 +0000 (13:22 +0000)
committerMichael W. Hudson <mwh@python.net>
Fri, 22 Feb 2002 13:22:55 +0000 (13:22 +0000)
commit35bbe5666781d52ceb4c3190bfb35328b76a9952
tree6008c8139fc660ede0ef478063b0ff38f7f2b5e3
parentfffbde74800513e3bde54b8c6e50739cdfef1dce
backport akuchling's checkin of
    revision 1.12 of file_util.py

[Bug #220993; may also fix bug #479469] Fix flakiness when old
  installations are present, by always unlinking the destination file
  before copying to it.  Without the unlink(), the copied file remains
  owned by its previous UID, causing the subsequent chmod() to fail.

Bugfix candidate, though it may cause changes on platforms where
  file ownership behaves differently.
Lib/distutils/file_util.py