James Tucker f4da995940 atomicfile: reject overwriting irregular files
The intent of atomicfile is to overwrite regular files. Most use cases
that would overwrite irregular files, unix sockets, named pipes,
devices, and so on are more than likely misuse, so disallow them.

Fixes 

Signed-off-by: James Tucker <james@tailscale.com>
2023-03-31 13:29:52 -07:00
..