Closed AlexShukhman closed 2 years ago
The solution I found, and correct me if I'm off base here please, was to chmod the USB file:
sudo chmod 666 /dev/ttyUSB0
This must be set up on the host computer, not the container as the permissions were user permissions in host computer that were being accessed by the docker run
command
I noticed this permissions issue when running on a totally clean install of Manjaro:
My setup was the standard Docker implementation on the clean Manjaro image. The issue happened in the container, but the issue was with permissions in Python to access the USB connection.
Edit: Setup