Using Serial Ports In Linux

Changing The Permissions On A Serial Port

You can change the permissions for a serial port so you don’t have to keep using sudo by typing:

where /dev/ACM0 is the file corresponding to the serial port you wish to control.

You can permanently change the permissions by adding the user to the group dialout with the following command:

Note that this depends on the username and dialout group already existing (which is normally the case). This new permission will not come into effect until the user has logged out and back in again.

Posted: January 7th, 2014 at 8:54 pm
Last Updated on: August 26th, 2017 at 5:24 am