Author giampaolo.rodola
Recipients Preston Moore, giampaolo.rodola, zach.ware
Date 2018-07-08.16:51:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1531068716.23.0.56676864532.issue30400@psf.upfronthosting.co.za>
In-reply-to
Content
All copy* functions and move() are subjects to race conditions (the only exception is rmtree()). You may solve the race condition in copyfile() but then you'd have the same problem in copystat() and copymode() which are used by copy() and copy2(). The definitive solution to this problem would theoretically be to have all these interconnected functions pass fds instead of "paths" but of course that is hardly possible. Personally I don't think this issue is worth being fixed.
History
Date User Action Args
2018-07-08 16:51:56giampaolo.rodolasetrecipients: + giampaolo.rodola, zach.ware, Preston Moore
2018-07-08 16:51:56giampaolo.rodolasetmessageid: <1531068716.23.0.56676864532.issue30400@psf.upfronthosting.co.za>
2018-07-08 16:51:56giampaolo.rodolalinkissue30400 messages
2018-07-08 16:51:56giampaolo.rodolacreate