Pi Camera Permission denied

Hi, I've got a DiddyBorg Red Edition and I've already assembled everything but when I open a file it says socket.error: [Errno13 ] Permission denied and won't work. What do I do?

piborg's picture

Given the error I presume you are trying to run the diddyRedWeb.py script so you can use the Web UI to control the DiddyBorg.

This script opens a TCP port for other computers / phones to connect to via the local network or the web. In Linux this requires additional privileges to work.

You can grant the script the extra privileges by running it using the sudo command. For example:

sudo ./diddyRedWeb.py
Subscribe to Comments for "Pi Camera Permission denied"