What is the problem?
When I start Orange Pi Zero and log in, I cannot connect the printer and get the errormessage as shown in the log file: Permission denied: '/dev/ttyUSB0'
If I execute the permissions command shown below I can connect perfectly fine. How can I incorporate the permissions during startup? I am a complete Linux newbie.
What did you already try to solve it?
I can solve the issue by connecting via SSH and performing the command: sudo chmod 777 /dev/ttyUSB0
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware,
serial.log or output on terminal tab, ...)
I am using an Orange Pi Zero on which I installed Octoprint using the guide of Deloarts at http://deloarts.com/en/3d-printing/octoprint-on-orange-pi-zero/. I used the Armbian Bionic mainline based kernel 4.19.y as a OS and installed Octoprint latest version. Deloarts procedure contains a permissions section which might hold the answer to the solution (see screenshot).
As a printer I am using a Creality Ender 3.octoprint.log (119.7 KB)