Access and Permissions
In Linux, by default, accessing serial ports requires sudo. This is inconvenient - you probably want your current user to have access without using sudo. There are two ways to manage this access: either through the DBus service, or with the dialout group.
DBus
The DBus service has the advantage of more fine-grained access control. However, it is only supported in Linux.
For more information, see DBus Access and Permissions
Dialout
Typically, Linux serial ports are generally owned by root and are attached to the dialout group, with permissions such that members of the dialout group may read and write to the port.
To add your user to the dialout group, you can run a command like this:
usermod -a -G dialout "${USER}"
Note that you may need to log out and back in before this takes effect.