Arduino 2.0.3 windows 11 Permission denied

Hi. I'm running the latest updated Arduino 2.0.3 on windows 11. I have already compiled this program on another computer running windows 10 using 2.0.3. I brought the project home to work on it and this is the error I am getting. I checked the folder and the file and their user permissions and all users have full permissions not just for this folder but all folders and files in the documents folder and all children. There are only 3 users in the windows environment. Just not sure what to do. I have to be missing something really simple. Any help would be greatly appreciated. Thanks.

\Documents\Arduino\libraries\DFRobotDFPlayerMini-master/DFRobotDFPlayerMini.h: Permission denied

Welcome to the forum

What anti virus software are you running ?

I run IOBit Advanced System Care and Anti-Malware.

Does the PC that you can compile on use the same AV software ?

Yes.

Not sure if there is any more in this, but here is the full error thats in orange.

F:\Downloads\Arduino\Starwars Project\Code\code\code.ino:3:10: fatal error: c:\Users\dcaru\Documents\Arduino\libraries\DFRobotDFPlayerMini-master/DFRobotDFPlayerMini.h: Permission denied
#include "DFRobotDFPlayerMini.h"
^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

And then there is this

Alternatives for DFRobotDFPlayerMini.h: [DFRobotDFPlayerMini@1.0.5]
ResolveLibrary(DFRobotDFPlayerMini.h)
-> candidates: [DFRobotDFPlayerMini@1.0.5]

Using library SoftwareSerial in folder: C:\Users\dcaru\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.3\libraries\SoftwareSerial (legacy)
Using library DFRobotDFPlayerMini at version 1.0.5 in folder: C:\Users\dcaru\Documents\Arduino\libraries\DFRobotDFPlayerMini-master
exit status 1

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.