When attaching a serial device (e.g an arduino via USB or Bluetooth), the owner:group is set as root:dialout, e.g:
crw-rw---- 1 root dialout 166, 0 Apr 15 18:08 /dev/ttyACM0
However, even when the regular user is part of the dialout group, it is necessary to change permissions on the device file (to 666).
This is only temporary until the device has been disconnected. A persistent solution is to modify the udev file. See e.g. this link and this link
This can be confusing, not least when the Bluetooth system tool (blueDevil on KDE) can detect USB devices, but not connect to them.
It seems to me, that either the default behaviour should be to grant dialout users write access or at the least this should be part of the GUI system setting tools.
$id
uid=1000(soon) gid=1000(soon) groups=1000(soon),4(adm),20(dialout),24(cdrom),27(sudo),30(dip),46(plugdev),116(lpadmin),126(sambashare)
id
– vidarlo Apr 15 '19 at 16:45