Cannot run "../avr/bin/avr-g++" java.io.IOException: error=13, Permission denied

Hello there,

I want to install the IDE 1.0.5 on a fresh install of Ubuntu 12.04 LTS. The board is a Lenoardo.

This is what I did. I got the arduino-1.0.5-linux64.tgz from the website which was install to /usr/local/arduino-1.0.5/

«When I tried to verify my sketch I got error "Cannot run program "/usr/local/arduino-1.0.5/hardware/tools/avr/bin/avr-g++": java.io.IOException: error=13, Permission denied»

At first i thought it was that the gnu g++ compiler wasnt installed so i installed that. But when I read the error again, I found that it was actually permission denied.

I then tried to install IDE version 1.0 from the software center in ubuntu. I found that it did not have support for my board. So I attempted to upload my sketch once more using the IDE 1.0.5. Same error:

«When I tried to verify my sketch I got error "Cannot run program "/usr/local/arduino-1.0.5/hardware/tools/avr/bin/avr-g++": java.io.IOException: error=13, Permission denied»

So my questions to you:

(1) Precisely what does this error mean,
(2) How is it rectified?

Thank you for your time.

Kind regards,
Marius

Try running the following:

"sudo chmod -R 755 /usr/local/arduino-1.0.5/hardware/tools/avr/bin/"

To make sure you have execute permissions.

That fixed my problem.

Thanks.M