Cannot open /dev/ttyS0: Permission denied

How to configure successfully

hello junxing.liang,

are you going to setup serial port to communicate through UART?
may I know which port you’re using, please also refer to Jetson Nano Style – Serial Console to setup communication.


Do note that those ports owned by group “tty” are serial console ports. Ports with group “dialout” are free to use for any purpose. If you want to add your user to group “dialout”, then the command would go something like this (and then you would not have permission denied):
sudo usermod -aG dialout account_owner_name

according to the screenshoot above it would be

sudo usermod -aG dialout ax02

then restart of the shell/terminal wil be required