Sharing discovery/solution Serial Port Communication on macOs
Today I was having trouble to send data to an external serial device on macOS Ventura (13.5.2). The same patch worked fine on anther identical laptop.
After fiddling around a bit I found out that for serial communication to work Max needs to be granted Full Disk Access permissions under Privacy & Security -> Full Disk Access.
There may be a more fine-grained option, but I didn't investigate it yet.
Just sharing in case someone else stumbles across this problem.