My program needs to access ttyUSB without root permission.
I tried changing it with chmod 777 /dev/ttyUSB0 as you know, when I reboot this permission changed to default. How can I configure my udev rules.d for this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Look for
ttyUSB*in therules.ddirectory and update it to look lke below:Leave any other entries you find on the line unchanged, add the mode attribute if it does not exist.