avr-ar: unable to rename ...core.a; reason: Permission denied
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
Hi
while not letting Arduino IDE as an administrator, give me an error occurs during compilation :
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar: unable to rename 'C:\Users\Lenovo\AppData\Local\Temp\build111c1fcbb0db364f0df2f17d70a5c782.tmp\core\core.a'; *\* reason: Permission denied**
I think it is not good to run the Arduino IDE as administrator
Contributor guide
Research direction
Start by reproducing the compilation failure described in the issue with Arduino IDE 1.x on Windows, without running the IDE as administrator, and inspect the reported avr-ar error for core.a. Done means the same compilation succeeds without administrator privileges; the payload names no source files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arduino
- Domain
- embedded-iot, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100