Octoprint: Getting [Errno 13] Permission denied: '/dev/ttyACM0'

Created on 4 Aug 2018  路  1Comment  路  Source: OctoPrint/OctoPrint

What were you doing?

Cloned this Github, ran pip install ., then octoprint serve.

What did you expect to happen?

OctoPrint connects to my MP Select Mini v2.

What happened instead?

I get SerialException: [Errno 13] could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0'

Did the same happen when running OctoPrint in safe mode?

Yes.

Version of OctoPrint

1.3.9

Operating System running OctoPrint

Elementary OS Loki, based on Ubuntu

Printer model & used firmware incl. version

MonoPrice Select Mini v2

Link to octoprint.log

https://gist.github.com/hkyq/de82969f9861c2be81a88fc9a845e75a

Link to contents of terminal tab or serial.log

Terminal - https://gist.github.com/hkyq/c5de796c5b44a414ce885c97f2893083

Link to contents of Javascript console in the browser

https://gist.github.com/hkyq/f6ddbab35742e6b179a3cd1ab30f5ca8

I have read the FAQ. The OctoPrint folder & all its contents are owned by h.

bug triage

Most helpful comment

Fixed by changing permissions with sudo chmod 666 /dev/ttyACM0 .

>All comments

Fixed by changing permissions with sudo chmod 666 /dev/ttyACM0 .

Was this page helpful?
0 / 5 - 0 ratings