Permission on serial port on Ubuntu laptop

What is the problem?

I installed Octoprint on a Ubuntu laptop. Connected a Ender-3 printer via USB to the laptop. I got /dev/ttyACM0. When I try to connect, it says permission denied.

What did you already try to solve it?

I tried several options already. like

  • sudo chmod 666 /dev/ttyACM0, (kept Octoprint running) => no success
  • sudo nano /etc/udev/rules.d/99-ender3.rules and added KERNEL=="ttyACM[0-9]*",MODE="0666" to the file. Logged out and logged in. => no success.

Well, would be better if you provided the template details but I have a hunch that your issue is the same as this one:

If that is of no help, see if you can give us the systeminfo bundle in your next post. It should give us a bit more specific on the error you are getting.

Hi jcassel,
I receive the permission denied message, not the disconnect message in the post you mentioned.
I run 1.4.0, no system-info bundle available. I installed octoprint from the Ubuntu software store. Do I need to install octoprint in a different way?

By what procedure have you installed OctoPrint onto Ubuntu?

By the ubuntu App center


.

That is quite old
grafik

I recommend: GitHub - paukstelis/octoprint_deploy: Bash script for rapid deployment of multiple octoprint instance on a single machine

1 Like

Thanks Ewald, that worked for me!

1 Like