Bookmarked: Safely Creating And Using Temporary Files
This is a great resource to highlight the difficulty of creating temporary files safely - something I've tried to share before but without these great examples.
Its especially bad if using a shared CI/CD server and putting downloaded files into /tmp as you don't know whether it'll be clobbered / stolen by others on the instance
Recommended read: Safely Creating And Using Temporary Files https://www.netmeister.org/blog/mktemp.html
This was published using https://indigenous.realize.be.
This post was filed under bookmarks.