3 ms·
> 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.
by cbr 11y ago
> 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.
- mh- 11y agoindeed, and not just 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.