After every reboot I have to set chmod o+rw /dev/ttyS0 to be able to print to my POS printer via serial port in bash. Is it possible to save permissions and also baud rate, bits, stop bit and parity after the device is closed?
How to set custom permissions on /dev/ttyS0 so that they persist after reboot?
permissions;devices;tty;serial port
you can check the group owner of /dev/ttyS0 with:ls -l /dev/ttyS0and then add your user in this group:usermod -a -G {group-name} username