• Andrew M. Kuchling's avatar
    [Bug #220993; may also fix bug #479469] Fix flakiness when old · 3b388ec8
    Andrew M. Kuchling yazdı
      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.
    3b388ec8
file_util.py 8.21 KB