“POSIX hardlink heartache”

Sunday, 3 Apr 2022

Michael Orlitzky:

It follows that, on POSIX systems without any non-standard protections, it’s unsafe for anyone (but in particular, root) to do anything sensitive in a directory that is writable by another user. Cross-platform programs designed to do so are simply flawed.

Via rachelbythebay.