Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



indeed, 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: