My program needs to access ttyUSB without root permission.
ttyUSB
I tried changing it with chmod 777 /dev/ttyUSB0 as you know, when I reboot this perm
chmod 777 /dev/ttyUSB0
Look for ttyUSB* in the rules.d directory and update it to look lke below:
ttyUSB*
rules.d
KERNEL=="ttyUSB*", MODE="0777"
Leave any other entries you find on the line unchanged, add the mode attribute if it does not exist.