Arduino Duemilanove Permission Denied

Arduino: 1.8.10 (Windows 10), Board: "Arduino Duemilanove or Diecimila, ATmega328P"

c:\program files (x86)\arduino\hardware\tools\avr\bin../lib/gcc/avr/7.3.0/../../../../avr/bin/ar.exe: core\core.a: Permission denied

exit status 1
Error compiling for board Arduino Duemilanove or Diecimila.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

The "permission denied" problem often comes down to a few things.

These steps may save you some unnecessary time and effort in the forum.

  • Ensure you turn off any additional security / antivirus just to test.
  • Where possible use USB 2.0 ports or a USB 2.0 POWERED HUB.
  • Try other computers where possible.
  • Try other USB leads where possible.
  • Avoid cloud / network based installations where possible OR Ensure your Network / Cloud based software is RUNNING.


you could also set up the .exe to always 'Run as Administrator' and that may help.

On my PC I have a separate SSD partitioned for programs, data, 'My Documents', temp files, etc, to keep everything I can off the C: drive SSD.

I find Windows runs a lot better that way and if (when!) Win 10 crashes I can wipe that drive, reload, and I've not lost anything.

It also helps to get away from the daft Win 10 security that blocks too much.