Avoiding USB serial port permissions problems on Ubuntu

One of the most annoying things about Ubuntu (and Linux in general) is that USB serial ports can only be accessed in superuser mode unless something is done. The result is that you can see the port as /dev/ttyXXXX but can’t open it. While there are other ways, adding your user name to the dialout group will usually fix this:

sudo adduser <username> dialout

Then log out and log in again to kick in the new setting.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.