> Presuming that you wouldn't invoke mv nanoseconds before creating the symlink
This kind of thinking has led to lots of security bugs around symlinks.
This kind of thinking has led to lots of security bugs around symlinks.
being vigilant about not creating unnecessary race conditions is important. doubly so when you're building a tool upon which others will compose their own programs/scripts/etc.