Hi man, when I try to compile the writeinstinct.h file via arduino IDE on Ubuntu 18 (either via root or as normal user) I get the following error: .../arduino-1.8.10/hardware/tools/avr/bin/avr-gcc: permission denied Tried already to google the problem, but nothing turned up really.
top of page
![](https://static.wixstatic.com/media/9337c3_044ddc1503014c638ff3741e54db8e6f~mv2_d_2501_1282_s_2.png/v1/fill/w_96,h_49,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/9337c3_044ddc1503014c638ff3741e54db8e6f~mv2_d_2501_1282_s_2.png)
bottom of page
Thanks for replying. this fixed my issue. it is important to give chmod +x permissions to all files within /bin, so the command that worked for me was:
sudo chmod -R +x /filepathtoabovebinfolder/ bin
Does it work with the example codes by Arduino IDE?
Maybe you can try to add execution privilege to avr-gcc by
sudo chmod +x YourDirectory/avr-gcc