Serial port permission denied for non-root user with dialout group privileges even after reboot Ubuntu 18.04
问题 I write systemd services that launch with root privileges and de-privilege themselves to a system account (called mxdaemon). These services require access to the physical serial port ( /dev/ttyS0 ) on the PC. Serial port ls -l : Serial port: crw-rw---- 1 root dialout 4, 64 Jun 13 22:00 /dev/ttyS0 When run as root, the service has no problem communicating via the serial port. When the service is configured to de-privilege to mxdaemon, I get a permission denied error when attempting to access