Hi. I’ve been using KiCad for around a year now. I’m overall happy with all the features it presents. However I keep having this issue where KiCad keeps popping up an error window saying “can’t open file [file directory]. Access denied”. It happens both everytime KiCad autosaves and also when I manually hit the save button.
I understand this issue is more related to Windows permissions than KiCad itself, as well as the fact that it’s not really that important since the changes get saved correctly despite of the error. I’m also aware that it could be easily solved by moving the project files somewhere else like an external hard disk, but I’d like to keep my files on my local disk (and thus finally learn how to deal with permissions once and for all!) and get rid of these errors which are starting to get me on my neves after a year using KiCad haha.
Check that the length of your kicad project directory path is not reaching 255 characters. The autosave will exceed that and struggle on windows unless you turn on long path mode in Windows.
Correct me if I’m wrong since as I mentioned above I’ve never dealt with Windows permissions before, but this is the menu where you edit them, right? If that’s is so, the image linked shows the permissions for my user (Enf) for the KiCad project. In my eyes I seem to have access to all of them. They are also the same for the Board and the Schematic associated with the project.
It depends where the error is originating from, when KiCad is run as an Administrator many files could be modified (not only the project files), including the ones in %APPDATA%\kicad\6.0.
If your project is in a stable state, you can try deleting (or moving it somewhere else) the backup directory and see if that fixes your problem, if the error message tells you that the files with problems are somewhere in C:\Users\ your_user \AppData\Roaming\kicad\6.0\ you could delete it too (after carefully backing up your stuff of course)