You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/01/22 17:58:15 UTC

[GitHub] [trafficcontrol] rob05c commented on issue #4311: Fix ORT to atomically place files.

rob05c commented on issue #4311: Fix ORT to atomically place files.
URL: https://github.com/apache/trafficcontrol/issues/4311#issuecomment-577309029
 
 
   Also: it's common practice to run the OS temp directory on a different filesystem for security reasons, which will cause `mv` to be non-atomic as it then has to actually copy bytes.
   
   Therefore, the temporary file should be in the same directory as the real file, to ensure it's on the same filesystem.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services