When developing hardware, one encounters two problems:
The JTAG adapter (or the like) isn’t visible to the JTAG programmer running as a process under an unprivileged user.
There are approximately eleven USB-Serial adapters plugged in and they arrange themselves through a fair dice roll on every reboot.
Sometimes coughFTDIcough you could even encounter both with the same device! Exciting!
This note is Linux-specific.